OSDN Git Service

(split) LDP: Update the version to 3.53 in PO files
[linuxjm/LDP_man-pages.git] / draft / man3 / getusershell.3
index a3911dd..9cccb06 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" References consulted:
 .\"     Linux libc source code
 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
 .\"     386BSD man pages
 .\" Modified Sat Jul 24 19:17:53 1993 by Rik Faith (faith@cs.unc.edu)
-.\" Japanese Version Copyright (c) 1997 ISHIOKA Takashi
-.\"         all rights reserved.
-.\" Translated Mon Sep  8 15:02:18 1997
-.\"         by ISHIOKA Takashi
-.TH GETUSERSHELL 3  2007-07-26 "GNU" "Linux Programmer's Manual"
-.\"O .SH NAME
-.SH Ì¾Á°
-.\"O getusershell, setusershell, endusershell \- get permitted user shells
-getusershell, setusershell, endusershell \- µö²Ä¤µ¤ì¤¿¥æ¡¼¥¶¥·¥§¥ë¤òÆÀ¤ë
-.\"O .SH SYNOPSIS
-.SH ½ñ¼°
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH GETUSERSHELL 3 2013\-06\-21 GNU "Linux Programmer's Manual"
+.SH 名前
+getusershell, setusershell, endusershell \- 許可されたユーザシェルを得る
+.SH 書式
 .nf
-.B #include <unistd.h>
+\fB#include <unistd.h>\fP
 .sp
-.B char *getusershell(void);
+\fBchar *getusershell(void);\fP
 .sp
-.B void setusershell(void);
+\fBvoid setusershell(void);\fP
 .sp
-.B void endusershell(void);
+\fBvoid endusershell(void);\fP
 .fi
 .sp
 .in -4n
-.\"O Feature Test Macro Requirements for glibc (see
-.\"O .BR feature_test_macros (7)):
-glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
-.RB ( feature_test_macros (7)
-»²¾È):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
 .in
 .sp
 .ad l
-.BR getusershell (),
-.BR setusershell (),
-.BR endusershell ():
+\fBgetusershell\fP(), \fBsetusershell\fP(), \fBendusershell\fP():
 .RS 4
 _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
 .RE
 .ad b
-.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
-.\"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.
-.BR getusershell ()
-´Ø¿ô¤Ï \fI/etc/shells\fP ¥Õ¥¡¥¤¥ë¤«¤é
-(³«¤¯É¬Íפ¬¤¢¤ì¤Ð¤³¤Î¥Õ¥¡¥¤¥ë¤ò³«¤¤¤Æ¤«¤é) ¸½ºß¹Ô¤Î¼¡¤Î°ì¹Ô¤òÊÖ¤¹¡£
-ÊÖ¤µ¤ì¤¿¹Ô¤ÎÃæ¿È¤ÏÍ­¸ú¤Ê¥æ¡¼¥¶¥·¥§¥ë¤Î¤¦¤Á¤Î°ì¤Ä¤Î¥Ñ¥¹Ì¾¤Ç¤¢¤ë¡£
-(ÌõÃí. °ì¹Ô¤ËÉÕ¤­°ì¤Ä¤Î¥·¥§¥ë¤Î¥Ñ¥¹Ì¾¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£)
-¤â¤· \fI/etc/shells\fP ¤¬Â¸ºß¤·¤Ê¤¤¤«¡¢Æɤ߹þ¤ßÉԲĤξì¹ç¤Ë¤Ï¡¢
-.BR getusershell ()
-¤Ï \fI/bin/sh\fP ¤È \fI/bin/csh\fP
-¤¬¥Õ¥¡¥¤¥ë¤Ëµ­¤µ¤ì¤Æ¤¤¤ë¤«¤Î¤è¤¦¤Ë¤Õ¤ë¤Þ¤¦¡£
+.SH 説明
+\fBgetusershell\fP()  関数は \fI/etc/shells\fP ファイルから (開く必要があればこのファイルを開いてから)
+現在行の次の一行を返す。 返された行の中身は有効なユーザシェルのうちの一つのパス名である。 (訳注. 一行に付き一つのシェルのパス名が書かれている。)
+もし \fI/etc/shells\fP が存在しないか、読み込み不可の場合には、 \fBgetusershell\fP()  は \fI/bin/sh\fP と
+\fI/bin/csh\fP がファイルに記されているかのようにふるまう。
 .PP
-.\"O The
-.\"O .BR setusershell ()
-.\"O function rewinds \fI/etc/shells\fP.
-.BR setusershell ()
-´Ø¿ô¤Ï \fI/etc/shells\fP ¥Õ¥¡¥¤¥ë¤Î
-¥Õ¥¡¥¤¥ë¥Ý¥¤¥ó¥¿¤òÀèƬ¤ËÌ᤹¡£
+\fBsetusershell\fP()  関数は \fI/etc/shells\fP ファイルの ファイルポインタを先頭に戻す。
 .PP
-.\"O The
-.\"O .BR endusershell ()
-.\"O function closes \fI/etc/shells\fP.
-.BR endusershell ()
-´Ø¿ô¤Ï \fI/etc/shells\fP ¥Õ¥¡¥¤¥ë¤òÊĤ¸¤ë¡£
-.\"O .SH "RETURN VALUE"
-.SH ÊÖ¤êÃÍ
-.\"O The
-.\"O .BR getusershell ()
-.\"O function returns a NULL pointer on end-of-file.
-.BR getusershell ()
-´Ø¿ô¤Ï¥Õ¥¡¥¤¥ë¤Î½ªÃ¼¤Ç¤ÏNULL ¥Ý¥¤¥ó¥¿¤òÊÖ¤¹¡£
-.\"O .SH FILES
-.SH ¥Õ¥¡¥¤¥ë
+\fBendusershell\fP()  関数は \fI/etc/shells\fP ファイルを閉じる。
+.SH 返り値
+\fBgetusershell\fP()  関数はファイルの終端ではNULL ポインタを返す。
+.SH ファイル
 .nf
 /etc/shells
 .fi
-.\"O .SH "CONFORMING TO"
-.SH ½àµò
+.SH 属性
+.SS "マルチスレッディング (pthreads(7) 参照)"
+関数 \fBgetusershell\fP(), \fBsetusershell\fP(), \fBendusershell\fP() はスレッドセーフではない。
+.SH 準拠
 4.3BSD.
-.\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
-.BR shells (5)
+.SH 関連項目
+\fBshells\fP(5)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。