getusershel(3c) hpux man page | unix.com

Man Page: getusershel

Operating Environment: hpux

Section: 3c

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)
Related Man Pages
setusershell(3c) - opensolaris
getusershell(3) - netbsd
setusershell(3) - netbsd
setusershell(3c) - sunos
getusershell(3) - freebsd
Similar Topics in the Unix Linux Community
korn shell question
ksh script as a login shell return "no controlling terminal"
Enable FTP for root user in Solaris 10
The /etc/shells file is missing.
default shell for the user