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 rose_aton() converts the ROSE address cp from an ASCII representation
19 into network format.
20
21 rose_ntoa() converts the ROSE address cp that is network format to a
22 string that is the ASCII representation of the address.
23
24 rose_cmp() compares the two ROSE address a1 and a2 that are in network
25 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 address a1 and a2 are identical, 1 other‐
32 wise.
33
35 ax25(4), netrom(4), rose(4)
36
37
38
39Linux 20 April 1999 INET(3)