OSDN Git Service

Update draft for LDP 3.67
[linuxjm/LDP_man-pages.git] / draft / man3 / getusershell.3
index 9792a0a..8916121 100644 (file)
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH GETUSERSHELL 3 2007\-07\-26 GNU "Linux Programmer's Manual"
+.\"
+.\" Japanese Version Copyright (c) 1997 ISHIOKA Takashi
+.\"         all rights reserved.
+.\" Translated Mon Sep  8 15:02:18 1997
+.\"         by ISHIOKA Takashi
+.\"O .SH NAME
+.\"O getusershell, setusershell, endusershell \- get permitted user shells
+.\"O .SH SYNOPSIS
+.\"O Feature Test Macro Requirements for glibc (see
+.\"O .BR feature_test_macros (7)):
+.\"O .SH DESCRIPTION
+.\"O The
+.\"O .BR getusershell ()
+.\"O function returns the next line from the file
+.\"O \fI/etc/shells\fP, opening the file if necessary.
+.\"O The line should contain
+.\"O the pathname of a valid user shell.
+.\"O If \fI/etc/shells\fP does not exist or
+.\"O is unreadable,
+.\"O .BR getusershell ()
+.\"O behaves as if  \fI/bin/sh\fP and
+.\"O \fI/bin/csh\fP were listed in the file.
+.\"O The
+.\"O .BR setusershell ()
+.\"O function rewinds \fI/etc/shells\fP.
+.\"O The
+.\"O .BR endusershell ()
+.\"O function closes \fI/etc/shells\fP.
+.\"O .SH "RETURN VALUE"
+.\"O The
+.\"O .BR getusershell ()
+.\"O function returns a NULL pointer on end-of-file.
+.\"O .SH FILES
+.\"O .SH "CONFORMING TO"
+.\"O .SH "SEE ALSO"
+.\"
+.TH GETUSERSHELL 3 2013\-06\-21 GNU "Linux Programmer's Manual"
 .SH 名前
 getusershell, setusershell, endusershell \- 許可されたユーザシェルを得る
 .SH 書式
@@ -66,16 +102,19 @@ _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
 .PP
 \fBendusershell\fP()  関数は \fI/etc/shells\fP ファイルを閉じる。
 .SH 返り値
-\fBgetusershell\fP()  関数はファイルの終端ではNULL ポインタを返す。
+\fBgetusershell\fP() 関数はファイルの終端では NULL を返す。
 .SH ファイル
 .nf
 /etc/shells
 .fi
+.SH 属性
+.SS "マルチスレッディング (pthreads(7) 参照)"
+関数 \fBgetusershell\fP(), \fBsetusershell\fP(), \fBendusershell\fP() はスレッドセーフではない。
 .SH 準拠
 4.3BSD.
 .SH 関連項目
 \fBshells\fP(5)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.67 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。