getrpcent_r(3) Library Functions Manual getrpcent_r(3) getrpcent_r, getrpcbyname_r, getrpcbynumber_r - RPC ( ) LIBRARY Standard C library (libc, -lc) #include int getrpcent_r(struct rpcent *result_buf, char buf[.buflen], size_t buflen, struct rpcent **result); int getrpcbyname_r(const char *name, struct rpcent *result_buf, char buf[.buflen], size_t buflen, struct rpcent **result); int getrpcbynumber_r(int number, struct rpcent *result_buf, char buf[.buflen], size_t buflen, struct rpcent **result); glibc (. feature_test_macros(7)): getrpcent_r(), getrpcbyname_r(), getrpcbynumber_r(): glibc 2.19: _DEFAULT_SOURCE glibc 2.19 : _BSD_SOURCE || _SVID_SOURCE getrpcent_r(), getrpcbyname_r() getrpcbynumber_r() getrpcent(3), getrpcbyname(3) getrpcbynumber(3), . rpcent, . . rpcent , result_buf. buf rpcent ( ). buflen. buf , ERANGE, ( 1024 ). RPC, *result result_buf; *result NULL. 0. , . , (getrpcbyname_r(), getrpcbynumber_r()) (getrpcent_r()) result NULL. ENOENT (getrpcent_r()) . ERANGE buf . ( buflen). attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |getrpcent_r(), | | MT-Safe locale | |getrpcbyname_r(), | | | |getrpcbynumber_r() | | | +----------------------------+----------------------------------------------------------+--------------------------+ Functions with similar names exist on some other systems, though typically with different calling signatures. GNU. . getrpcent(3), rpc(5) Azamat Hackimov , Dmitry Bolkhovskikh , Vladislav , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . getrpcent_r(3)