Unix and Linux Discussions Tagged with zone |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
16,802 |
Solaris |
|
|
|
4 |
24,517 |
Solaris |
|
|
|
3 |
20,199 |
Solaris |
|
|
|
2 |
14,161 |
Solaris |
|
|
|
6 |
15,565 |
Solaris |
|
|
|
1 |
4,062 |
Solaris |
|
|
|
0 |
900 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,429 |
Solaris |
|
|
|
14 |
9,694 |
Solaris |
|
|
|
3 |
3,464 |
Solaris |
|
|
|
1 |
6,682 |
Solaris |
|
|
|
5 |
3,552 |
Solaris |
|
|
|
2 |
7,823 |
AIX |
|
|
|
5 |
3,037 |
Solaris |
|
|
|
9 |
9,212 |
Solaris |
|
|
|
5 |
6,250 |
Solaris |
|
|
|
9 |
16,562 |
Solaris |
|
|
|
9 |
7,497 |
Solaris |
|
|
|
2 |
3,944 |
Solaris |
|
|
|
4 |
10,035 |
Solaris |
|
|
|
2 |
2,344 |
IP Networking |
|
|
|
4 |
10,011 |
Solaris |
|
|
|
0 |
2,493 |
Solaris BigAdmin RSS |
|
|
|
11 |
34,959 |
Solaris |
|
|
|
23 |
22,045 |
Solaris |
|
|
|
1 |
5,224 |
High Performance Computing |
|
|
|
2 |
5,045 |
Solaris |
|
|
|
2 |
7,873 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
775 |
Software Releases - RSS News |
|
|
|
3 |
1,859 |
Solaris |
|
|
|
1 |
2,573 |
Solaris |
|
|
|
0 |
1,115 |
Software Releases - RSS News |
|
|
|
1 |
4,003 |
IP Networking |
|
|
|
0 |
1,016 |
Software Releases - RSS News |
|
|
|
0 |
1,084 |
Software Releases - RSS News |
|
|
|
0 |
1,556 |
UNIX and Linux RSS News |
|
|
|
5 |
4,145 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
5 |
33,048 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
10,370 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,768 |
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)