Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libc/net/nsdispatch.3
Show All 26 Lines | |||||
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||||
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||||
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||||
.\" POSSIBILITY OF SUCH DAMAGE. | .\" POSSIBILITY OF SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd April 4, 2010 | .Dd October 15, 2018 | ||||
.Dt NSDISPATCH 3 | .Dt NSDISPATCH 3 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm nsdispatch | .Nm nsdispatch | ||||
.Nd name-service switch dispatcher routine | .Nd name-service switch dispatcher routine | ||||
.Sh LIBRARY | .Sh LIBRARY | ||||
.Lb libc | .Lb libc | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
▲ Show 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | |||||
.Va mdata . | .Va mdata . | ||||
.Pp | .Pp | ||||
Additionally, methods may be implemented in NSS modules, in | Additionally, methods may be implemented in NSS modules, in | ||||
which case they are selected using the | which case they are selected using the | ||||
.Fa database | .Fa database | ||||
and | and | ||||
.Fa method_name | .Fa method_name | ||||
arguments along with the configured source. | arguments along with the configured source. | ||||
(The methods supplied via | Modules must use source names different from the built-in ones. | ||||
.Fa dtab | |||||
take priority over those implemented in NSS modules in the event | |||||
of a conflict.) | |||||
.Pp | .Pp | ||||
.Va defaults | .Va defaults | ||||
contains a list of default sources to try if | contains a list of default sources to try if | ||||
.Xr nsswitch.conf 5 | .Xr nsswitch.conf 5 | ||||
is missing or corrupted, or if there is no relevant entry for | is missing or corrupted, or if there is no relevant entry for | ||||
.Va database . | .Va database . | ||||
It is an array of | It is an array of | ||||
.Va ns_src | .Va ns_src | ||||
▲ Show 20 Lines • Show All 131 Lines • Show Last 20 Lines |