Seth Woolley's Man Viewer

Manual for rose - man 3 rose

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

INET(3)                    Linux Programmer's Manual                   INET(3)



NAME
       rose_aton, rose_ntoa, rose_cmp - ROSE Address manipulation routines

SYNOPSIS
       #include <netrose/rose.h>

       int rose_aton(const char *cp, char *inp);

       char * rose_ntoa(rose_address *cp);

       int rose_cmp(rose_address *a1, rose_address *a2);

DESCRIPTION
       rose_aton()  converts  the ROSE address cp from an ASCII representation
       into network format.

       rose_ntoa() converts the ROSE address cp that is network  format  to  a
       string(3,n) that is the ASCII representation of the address.

       rose_cmp()  compares the two ROSE address a1 and a2 that are in(1,8) network
       format.

RETURN VALUE
       The rose_ntoa() and rose_aton() functions return zero if(3,n) all  went  ok,
       -1 if(3,n) not.

       The  rose_cmp()  returns 0 if(3,n) address a1 and a2 are identical, 1 other-
       wise.

SEE ALSO
       ax25(3,4)(4), netrom(4), rose(3,4)(4)



Linux                            20 April 1999                         INET(3)

References for this manual (incoming links)