getusershell(3) Library Functions Manual getusershell(3) getusershell, setusershell, endusershell - LIBRARY Standard C library (libc, -lc) #include char *getusershell(void); void setusershell(void); void endusershell(void); glibc (. feature_test_macros(7)): getusershell(), setusershell(), endusershell(): glibc 2.21: _DEFAULT_SOURCE glibc 2.19 2.20: _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE < 500) glibc 2.19, : _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE < 500) getusershell() /etc/shells, . . /etc/shells , getusershell() , /bin/sh /bin/csh. setusershell() /etc/shells. endusershell() /etc/shells. getusershell() NULL . /etc/shells attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |getusershell(), | | MT-Unsafe | |setusershell(), | | | |endusershell() | | | +----------------------------+----------------------------------------------------------+--------------------------+ None. 4.3BSD. shells(5) Azamat Hackimov , Dmitry Bolkhovskikh , Vladislav , Yuri Kozlov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , <>. Linux man-pages 6.8 2 2024 . getusershell(3)