Unix and Linux Discussions Tagged with zone |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
16,360 |
Solaris |
|
|
|
4 |
24,017 |
Solaris |
|
|
|
3 |
19,794 |
Solaris |
|
|
|
2 |
14,070 |
Solaris |
|
|
|
6 |
15,482 |
Solaris |
|
|
|
1 |
3,962 |
Solaris |
|
|
|
0 |
884 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,335 |
Solaris |
|
|
|
14 |
9,553 |
Solaris |
|
|
|
3 |
3,386 |
Solaris |
|
|
|
1 |
6,581 |
Solaris |
|
|
|
5 |
3,534 |
Solaris |
|
|
|
2 |
7,777 |
AIX |
|
|
|
5 |
3,014 |
Solaris |
|
|
|
9 |
9,158 |
Solaris |
|
|
|
5 |
6,218 |
Solaris |
|
|
|
9 |
16,520 |
Solaris |
|
|
|
9 |
7,435 |
Solaris |
|
|
|
2 |
3,913 |
Solaris |
|
|
|
4 |
9,954 |
Solaris |
|
|
|
2 |
2,336 |
IP Networking |
|
|
|
4 |
9,974 |
Solaris |
|
|
|
0 |
2,486 |
Solaris BigAdmin RSS |
|
|
|
11 |
34,915 |
Solaris |
|
|
|
23 |
21,977 |
Solaris |
|
|
|
1 |
5,191 |
High Performance Computing |
|
|
|
2 |
5,023 |
Solaris |
|
|
|
2 |
7,839 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
770 |
Software Releases - RSS News |
|
|
|
3 |
1,848 |
Solaris |
|
|
|
1 |
2,561 |
Solaris |
|
|
|
0 |
1,100 |
Software Releases - RSS News |
|
|
|
1 |
3,988 |
IP Networking |
|
|
|
0 |
1,010 |
Software Releases - RSS News |
|
|
|
0 |
1,073 |
Software Releases - RSS News |
|
|
|
0 |
1,542 |
UNIX and Linux RSS News |
|
|
|
5 |
4,099 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
5 |
32,996 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
10,286 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,749 |
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)