libnsl

Public client interface library for NIS(YP) and NIS+ directory services

brewmacoslinux
Try with needOr install directly
Source

About

Public client interface for NIS(YP) and NIS+

Commands

libnsl

Examples

Link against libnsl in C/C++ program to access NIS services$ gcc -o myprogram myprogram.c -lnsl
Check if libnsl is properly installed by verifying library file$ pkg-config --cflags --libs libnsl
Use NIS functions in code to query user/group information$ man getpwnam_r