Unix and Linux Discussions Tagged with zone |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
15,001 |
Solaris |
|
|
|
4 |
22,417 |
Solaris |
|
|
|
3 |
18,600 |
Solaris |
|
|
|
2 |
13,805 |
Solaris |
|
|
|
6 |
15,111 |
Solaris |
|
|
|
1 |
3,599 |
Solaris |
|
|
|
0 |
809 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,003 |
Solaris |
|
|
|
14 |
8,964 |
Solaris |
|
|
|
3 |
3,077 |
Solaris |
|
|
|
1 |
6,224 |
Solaris |
|
|
|
5 |
3,416 |
Solaris |
|
|
|
2 |
7,580 |
AIX |
|
|
|
5 |
2,873 |
Solaris |
|
|
|
9 |
8,964 |
Solaris |
|
|
|
5 |
6,060 |
Solaris |
|
|
|
9 |
16,326 |
Solaris |
|
|
|
9 |
7,130 |
Solaris |
|
|
|
2 |
3,792 |
Solaris |
|
|
|
4 |
9,738 |
Solaris |
|
|
|
2 |
2,271 |
IP Networking |
|
|
|
4 |
9,825 |
Solaris |
|
|
|
0 |
2,441 |
Solaris BigAdmin RSS |
|
|
|
11 |
34,637 |
Solaris |
|
|
|
23 |
21,785 |
Solaris |
|
|
|
1 |
5,075 |
High Performance Computing |
|
|
|
2 |
4,934 |
Solaris |
|
|
|
2 |
7,711 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
739 |
Software Releases - RSS News |
|
|
|
3 |
1,803 |
Solaris |
|
|
|
1 |
2,506 |
Solaris |
|
|
|
0 |
1,063 |
Software Releases - RSS News |
|
|
|
1 |
3,944 |
IP Networking |
|
|
|
0 |
966 |
Software Releases - RSS News |
|
|
|
0 |
1,034 |
Software Releases - RSS News |
|
|
|
0 |
1,499 |
UNIX and Linux RSS News |
|
|
|
5 |
3,902 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
5 |
32,853 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
10,000 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,645 |
UNIX for Dummies Questions & Answers |
NBP_NAME(3) Library Functions Manual NBP_NAME(3)
NAME
nbp_name - NBP name parsing
SYNOPSIS
nbp_name( name, obj, type, zone )
char *name, **obj, **type, **zone;
DESCRIPTION
nbp_name() parses user supplied names into their component object, type, and zone. obj, type, and zone should be passed by reference, and
should point to the caller's default values. nbp_name() will change the pointers to the parsed-out values. name is of the form
object:type@zone, where each of object, :type, and @zone replace obj, type, and zone, respectively. type must be proceeded by `:', and
zone must be preceded by `@'.
EXAMPLE
The argument of afpd(8)'s -n option is parsed with nbp_name(). The default value of obj is the first component of the machine's hostname
(as returned by gethostbyname(3)). The default value of type is ``AFPServer'', and of zone is ``*'', the default zone. To cause afpd to
register itself in some zone other than the default, one would invoke it as
afpd -n @some-other-zone
obj and type would retain their default values.
BUGS
obj, type, and zone return pointers into static area which may be over-written on each call.
netatalk 1.3 12 Jan 1994 NBP_NAME(3)