new copyright notice
[unix-history] / usr / src / lib / libc / gen / getusershell.3
index 5af58e9..98bce93 100644 (file)
@@ -1,8 +1,9 @@
-.\" Copyright (c) 1985 Regents of the University of California.
-.\" All rights reserved.  The Berkeley software License Agreement
-.\" specifies the terms and conditions for redistribution.
+.\" Copyright (c) 1985 The Regents of the University of California.
+.\" All rights reserved.
 .\"
 .\"
-.\"    @(#)getusershell.3      6.2 (Berkeley) %G%
+.\" %sccs.include.redist.man%
+.\"
+.\"    @(#)getusershell.3      6.4 (Berkeley) %G%
 .\"
 .TH GETUSERSHELL 3  ""
 .UC 6
 .\"
 .TH GETUSERSHELL 3  ""
 .UC 6
@@ -23,11 +24,13 @@ system manager in the file
 .IR /etc/shells .
 If 
 .I /etc/shells
 .IR /etc/shells .
 If 
 .I /etc/shells
-does not exist, the two standard system shells
+is unreadable or does not exist,
+.I getusershell
+behaves as if
 .I /bin/sh
 and
 .I /bin/csh
 .I /bin/sh
 and
 .I /bin/csh
-are returned.
+were listed in the file.
 .PP
 .I Getusershell
 reads the next
 .PP
 .I Getusershell
 reads the next
@@ -38,10 +41,12 @@ rewinds the file;
 closes it.
 .SH FILES
 /etc/shells
 closes it.
 .SH FILES
 /etc/shells
+.SH "SEE ALSO"
+shells(5)
 .SH DIAGNOSTICS
 The routine
 .I getusershell
 .SH DIAGNOSTICS
 The routine
 .I getusershell
-returns a null pointer (0) on EOF or error.
+returns a null pointer (0) on EOF.
 .SH BUGS
 All information
 is contained in a static area
 .SH BUGS
 All information
 is contained in a static area