summaryrefslogtreecommitdiffstats
path: root/rose.3
diff options
context:
space:
mode:
Diffstat (limited to 'rose.3')
-rw-r--r--rose.331
1 files changed, 31 insertions, 0 deletions
diff --git a/rose.3 b/rose.3
new file mode 100644
index 0000000..7b0a33a
--- /dev/null
+++ b/rose.3
@@ -0,0 +1,31 @@
+.TH INET 3 "20 April 1999" "Linux" "Linux Programmer's Manual"
+.SH NAME
+rose_aton, rose_ntoa, rose_cmp \- ROSE Address manipulation routines
+.SH SYNOPSIS
+.nf
+.B #include <netrose/rose.h>
+.sp
+.BI "int rose_aton(const char *" cp ", char *" inp ");"
+.sp
+.BI "char * rose_ntoa(rose_address *" cp ");"
+.sp
+.BI "int rose_cmp(rose_address *" a1 ", rose_address *" a2 ");"
+.fi
+.SH DESCRIPTION
+\fBrose_aton()\fP converts the ROSE address \fIcp\fP from an ASCII
+representation into network format.
+.PP
+\fBrose_ntoa()\fP converts the ROSE address \fIcp\fP that is
+network format to a string that is the ASCII
+representation of the address.
+.PP
+\fBrose_cmp()\fP compares the two ROSE address \fIa1\fP and \fIa2\fP
+that are in network format.
+.SH "RETURN VALUE"
+The \fBrose_ntoa()\fP and \fBrose_aton()\fP functions return zero if all
+went ok, -1 if not.
+.PP
+The \fBrose_cmp()\fP returns 0 if address \fIa1\fP and \fIa2\fP are identical,
+1 otherwise.
+.SH "SEE ALSO"
+.BR ax25 "(4), " netrom "(4), " rose "(4)"