]> arthur.barton.de Git - netatalk.git/blob - man/man3/atalk_aton.3
f7949eb437d5932d4d31e3c5a6c40505486478a0
[netatalk.git] / man / man3 / atalk_aton.3
1 .TH ATALK_ATON 3 "12 Jan 1994" "netatalk 1.3"
2 .SH NAME
3 atalk_aton \- AppleTalk address parsing
4 .SH SYNOPSIS
5 .nf
6 #include <sys/types.h>
7 #include <netatalk/at.h>
8 .LP
9 atalk_aton( cp, ata )
10 char *cp;
11 struct at_addr *ata;
12 .fi
13 .SH DESCRIPTION
14 The
15 .B atalk_aton()
16 routine converts an ascii representation of an AppleTalk address to a
17 format appropriate for system calls.  Acceptable ascii representations
18 include both hex and base 10, in triples or doubles.  For instance, the
19 address `0x1f6b.77' has a network part of `8043' and a node part of
20 `119'.  This same address could be written `8043.119', `31.107.119', or
21 `0x1f.6b.77'.  If the address is in hex and the first digit is one of
22 `A-F', a leading `0x' is redundant.
23 .SH SEE ALSO
24 .BR atalk (4).