getusershell(3C)getusershell(3C)NAMEgetusershell(), setusershell(), endusershell() - get legal user shells
Returns a pointer to the first legal user shell
as defined in the file (see shells(4)). If
does not exist or is not readable, returns the
following standard system shells:
as if they were contained in The file is left
open so that the next call returns the next
shell. A null pointer (0) is returned on EOF
Rewinds the file.
Closes the file.
get legal user shells.
and are obsolescent interfaces supported only for compatibility with
existing DCE applications. New multithreaded applications should use
was developed by HP and the University of California, Berkeley.
FILESSEE ALSOshells(4), thread_safety(5).