Unix and Linux Discussions Tagged with zone |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
15,541 |
Solaris |
|
|
|
4 |
23,024 |
Solaris |
|
|
|
3 |
19,091 |
Solaris |
|
|
|
2 |
13,897 |
Solaris |
|
|
|
6 |
15,259 |
Solaris |
|
|
|
1 |
3,725 |
Solaris |
|
|
|
0 |
833 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,104 |
Solaris |
|
|
|
14 |
9,196 |
Solaris |
|
|
|
3 |
3,187 |
Solaris |
|
|
|
1 |
6,353 |
Solaris |
|
|
|
5 |
3,458 |
Solaris |
|
|
|
2 |
7,643 |
AIX |
|
|
|
5 |
2,923 |
Solaris |
|
|
|
9 |
9,029 |
Solaris |
|
|
|
5 |
6,103 |
Solaris |
|
|
|
9 |
16,407 |
Solaris |
|
|
|
9 |
7,244 |
Solaris |
|
|
|
2 |
3,834 |
Solaris |
|
|
|
4 |
9,797 |
Solaris |
|
|
|
2 |
2,299 |
IP Networking |
|
|
|
4 |
9,886 |
Solaris |
|
|
|
0 |
2,454 |
Solaris BigAdmin RSS |
|
|
|
11 |
34,746 |
Solaris |
|
|
|
23 |
21,860 |
Solaris |
|
|
|
1 |
5,120 |
High Performance Computing |
|
|
|
2 |
4,972 |
Solaris |
|
|
|
2 |
7,759 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
749 |
Software Releases - RSS News |
|
|
|
3 |
1,819 |
Solaris |
|
|
|
1 |
2,522 |
Solaris |
|
|
|
0 |
1,073 |
Software Releases - RSS News |
|
|
|
1 |
3,957 |
IP Networking |
|
|
|
0 |
981 |
Software Releases - RSS News |
|
|
|
0 |
1,044 |
Software Releases - RSS News |
|
|
|
0 |
1,510 |
UNIX and Linux RSS News |
|
|
|
5 |
3,981 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
5 |
32,900 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
10,079 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,669 |
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)