Unix and Linux Discussions Tagged with zone |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
23,333 |
Solaris |
|
|
|
4 |
31,327 |
Solaris |
|
|
|
3 |
24,801 |
Solaris |
|
|
|
2 |
14,782 |
Solaris |
|
|
|
6 |
16,376 |
Solaris |
|
|
|
1 |
5,061 |
Solaris |
|
|
|
0 |
1,398 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,437 |
Solaris |
|
|
|
14 |
11,264 |
Solaris |
|
|
|
3 |
4,577 |
Solaris |
|
|
|
1 |
7,952 |
Solaris |
|
|
|
5 |
3,745 |
Solaris |
|
|
|
2 |
8,429 |
AIX |
|
|
|
5 |
3,326 |
Solaris |
|
|
|
9 |
9,698 |
Solaris |
|
|
|
5 |
6,680 |
Solaris |
|
|
|
9 |
17,115 |
Solaris |
|
|
|
9 |
7,915 |
Solaris |
|
|
|
2 |
4,277 |
Solaris |
|
|
|
4 |
10,668 |
Solaris |
|
|
|
2 |
2,487 |
IP Networking |
|
|
|
4 |
10,329 |
Solaris |
|
|
|
0 |
2,582 |
Solaris BigAdmin RSS |
|
|
|
11 |
35,412 |
Solaris |
|
|
|
23 |
22,790 |
Solaris |
|
|
|
1 |
5,434 |
High Performance Computing |
|
|
|
2 |
5,199 |
Solaris |
|
|
|
2 |
8,109 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
874 |
Software Releases - RSS News |
|
|
|
3 |
1,986 |
Solaris |
|
|
|
1 |
2,746 |
Solaris |
|
|
|
0 |
1,449 |
Software Releases - RSS News |
|
|
|
1 |
4,089 |
IP Networking |
|
|
|
0 |
1,161 |
Software Releases - RSS News |
|
|
|
0 |
1,256 |
Software Releases - RSS News |
|
|
|
0 |
1,633 |
UNIX and Linux RSS News |
|
|
|
5 |
4,536 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
5 |
33,470 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
11,128 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,075 |
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)