aboutsummaryrefslogtreecommitdiffstats
path: root/man3/getusershell.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-04-12 22:42:49 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-04-12 22:42:49 +0000
commitc13182efa3b3d77f2563034c8212c0ca798243ca (patch)
treee7652b26018b7c22cd6a4e4b41404dfaab911303 /man3/getusershell.3
parent4174ff5658082832c2ed511720f18881b3a80a34 (diff)
downloadman-pages-c13182efa3b3d77f2563034c8212c0ca798243ca.tar.gz
Wrapped long lines, wrapped at sentence boundaries; stripped trailing
white space.
Diffstat (limited to 'man3/getusershell.3')
-rw-r--r--man3/getusershell.312
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.