getusershell(3C) getusershell(3C)
NAME
getusershell(), setusershell(), endusershell() - get legal user shells
SYNOPSIS
Obsolescent Interfaces
DESCRIPTION
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 sys-
tem 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 or error.
Rewinds the file.
Closes the file.
Obsolescent Interfaces
get legal user shells.
WARNINGS
and are obsolescent interfaces supported only for compatibility with existing DCE applications. New multithreaded applications should use
and
AUTHOR
was developed by HP and the University of California, Berkeley.
FILES
SEE ALSO
shells(4), thread_safety(5).
getusershell(3C)