projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
from scratch; write to /dev/tty if possible, block interrupts
[unix-history]
/
usr
/
src
/
lib
/
libc
/
gen
/
getusershell.3
diff --git
a/usr/src/lib/libc/gen/getusershell.3
b/usr/src/lib/libc/gen/getusershell.3
index
5af58e9
..
ac16b6f
100644
(file)
--- a/
usr/src/lib/libc/gen/getusershell.3
+++ b/
usr/src/lib/libc/gen/getusershell.3
@@
-23,11
+23,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
+40,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