pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
Yp
Yp.Map

Yp.Map()->create()


Method create

void Yp.Map(string map, string|void domain)

Description

Create a new YP-map object.

map is the YP-map to bind to. This may be a nickname, such as passwd instead of just passwd.byname.

If domain is not specified, the default domain will be used.

Note

If there is no YP server available for the domain, this function call will block until there is one. If no server appears in about ten minutes or so, an error will be returned. The timeout is not configurable.

Module reference for Pike v7.8 release 116, 2008-12-31