diff options
Diffstat (limited to 'man3/getusershell.3')
| -rw-r--r-- | man3/getusershell.3 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/man3/getusershell.3 b/man3/getusershell.3 index d6a113bacc..f58076cdb0 100644 --- a/man3/getusershell.3 +++ b/man3/getusershell.3 @@ -8,7 +8,7 @@ .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one. -.\" +.\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from @@ -16,7 +16,7 @@ .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. -.\" +.\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" @@ -40,9 +40,11 @@ getusershell, setusershell, endusershell \- get legal user shells .fi .SH DESCRIPTION The \fBgetusershell\fP() function returns the next line from the file -\fI/etc/shells\fP, opening the file if necessary. The line should contain -the pathname of a valid user shell. If \fI/etc/shells\fP does not exist or -is unreadable, \fBgetusershell\fP() behaves as if \fI/bin/sh\fP and +\fI/etc/shells\fP, opening the file if necessary. +The line should contain +the pathname of a valid user shell. +If \fI/etc/shells\fP does not exist or +is unreadable, \fBgetusershell\fP() behaves as if \fI/bin/sh\fP and \fI/bin/csh\fP were listed in the file. .PP The \fBsetusershell\fP() function rewinds \fI/etc/shells\fP. |
