]> arthur.barton.de Git - netatalk.git/blob - man/man3/atalk_aton.3
Freshly generated manpages from XML sources
[netatalk.git] / man / man3 / atalk_aton.3
1 '\" t
2 .\"     Title: atalk_aton
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5 .\"      Date: 12 Jan 1994
6 .\"    Manual: Netatalk 2.2
7 .\"    Source: Netatalk 2.2
8 .\"  Language: English
9 .\"
10 .TH "ATALK_ATON" "3" "12 Jan 1994" "Netatalk 2.2" "Netatalk 2.2"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
15 .nh
16 .\" disable justification (adjust text to left margin only)
17 .ad l
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
21 .SH "NAME"
22 atalk_aton \- AppleTalk address parsing
23 .SH "SYNOPSIS"
24 .sp
25 .ft B
26 .nf
27 #include <sys/types\&.h>
28 #include <netatalk/at\&.h>
29 .fi
30 .ft
31 .HP \w'atalk_aton('u
32 .BI "atalk_aton(char\ *\ " "cp" ", struct\ at_addr\ *\ " "ata" ");"
33 .SH "DESCRIPTION"
34 .PP
35 The
36 \fBatalk_aton()\fR
37 routine converts an ASCII representation of an AppleTalk address to a format appropriate for system calls\&. Acceptable ASCII representations include both hex and base 10, in triples or doubles\&. For instance, the address `0x1f6b\&.77\' has a network part of `8043\' and a node part of `119\'\&. This same address could be written `8043\&.119\', `31\&.107\&.119\', or `0x1f\&.6b\&.77\'\&. If the address is in hex and the first digit is one of `A\-F\', a leading `0x\' is redundant\&.
38 .SH "SEE ALSO"
39 .PP
40 \fBatalk\fR(4)\&.