1INET(3) Linux Programmer's Manual INET(3)
2
3
4
6 rose_aton, rose_ntoa, rose_cmp - ROSE Address manipulation routines
7
9 #include <netrose/rose.h>
10
11 int rose_aton(const char *cp, char *inp);
12
13 char * rose_ntoa(rose_address *cp);
14
15 int rose_cmp(rose_address *a1, rose_address *a2);
16
18 The rose_aton() converts the ROSE address cp from an ASCII representa‐
19 tion into network format.
20
21 The rose_ntoa() converts the ROSE address cp that is network format to
22 a string that is the ASCII representation of the address.
23
24 The rose_cmp() compares the two ROSE address a1 and a2 that are in net‐
25 work format.
26
28 The rose_ntoa() and rose_aton() functions return zero if all went OK,
29 -1 if not.
30
31 The rose_cmp() returns 0 if addresses pointer by a1 and a2 are identi‐
32 cal, 1 otherwise.
33
35 ax25(4), netrom(4), rose(4)
36
37
38
39Linux 2008-Feb-04 INET(3)