Unix and Linux Discussions Tagged with zone |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
14,630 |
Solaris |
|
|
|
4 |
21,954 |
Solaris |
|
|
|
3 |
18,260 |
Solaris |
|
|
|
2 |
13,751 |
Solaris |
|
|
|
6 |
15,036 |
Solaris |
|
|
|
1 |
3,523 |
Solaris |
|
|
|
0 |
794 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,918 |
Solaris |
|
|
|
14 |
8,811 |
Solaris |
|
|
|
3 |
2,983 |
Solaris |
|
|
|
1 |
6,139 |
Solaris |
|
|
|
5 |
3,394 |
Solaris |
|
|
|
2 |
7,526 |
AIX |
|
|
|
5 |
2,851 |
Solaris |
|
|
|
9 |
8,911 |
Solaris |
|
|
|
5 |
6,021 |
Solaris |
|
|
|
9 |
16,211 |
Solaris |
|
|
|
9 |
7,070 |
Solaris |
|
|
|
2 |
3,770 |
Solaris |
|
|
|
4 |
9,688 |
Solaris |
|
|
|
2 |
2,256 |
IP Networking |
|
|
|
4 |
9,792 |
Solaris |
|
|
|
0 |
2,433 |
Solaris BigAdmin RSS |
|
|
|
11 |
34,568 |
Solaris |
|
|
|
23 |
21,710 |
Solaris |
|
|
|
1 |
5,044 |
High Performance Computing |
|
|
|
2 |
4,910 |
Solaris |
|
|
|
2 |
7,688 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
732 |
Software Releases - RSS News |
|
|
|
3 |
1,790 |
Solaris |
|
|
|
1 |
2,492 |
Solaris |
|
|
|
0 |
1,051 |
Software Releases - RSS News |
|
|
|
1 |
3,932 |
IP Networking |
|
|
|
0 |
961 |
Software Releases - RSS News |
|
|
|
0 |
1,026 |
Software Releases - RSS News |
|
|
|
0 |
1,497 |
UNIX and Linux RSS News |
|
|
|
5 |
3,870 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
5 |
32,818 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
9,951 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,633 |
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)