OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / LDP_man-pages / draft / man3 / getusershell.3
index a3911dd..55e531a 100644 (file)
 .\"         by ISHIOKA Takashi
 .TH GETUSERSHELL 3  2007-07-26 "GNU" "Linux Programmer's Manual"
 .\"O .SH NAME
-.SH Ì¾Á°
+.SH 名前
 .\"O getusershell, setusershell, endusershell \- get permitted user shells
-getusershell, setusershell, endusershell \- µö²Ä¤µ¤ì¤¿¥æ¡¼¥¶¥·¥§¥ë¤òÆÀ¤ë
+getusershell, setusershell, endusershell \- 許可されたユーザシェルを得る
 .\"O .SH SYNOPSIS
-.SH ½ñ¼°
+.SH 書式
 .nf
 .B #include <unistd.h>
 .sp
@@ -49,9 +49,9 @@ getusershell, setusershell, endusershell \- 
 .in -4n
 .\"O Feature Test Macro Requirements for glibc (see
 .\"O .BR feature_test_macros (7)):
-glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
+glibc 向けの機能検査マクロの要件
 .RB ( feature_test_macros (7)
-»²¾È):
+参照):
 .in
 .sp
 .ad l
@@ -63,7 +63,7 @@ _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
 .RE
 .ad b
 .\"O .SH DESCRIPTION
-.SH ÀâÌÀ
+.SH 説明
 .\"O The
 .\"O .BR getusershell ()
 .\"O function returns the next line from the file
@@ -76,42 +76,42 @@ _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
 .\"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 ¤¬Â¸ºß¤·¤Ê¤¤¤«¡¢Æɤ߹þ¤ßÉԲĤξì¹ç¤Ë¤Ï¡¢
+関数は \fI/etc/shells\fP ファイルから
+(開く必要があればこのファイルを開いてから) 現在行の次の一行を返す。
+返された行の中身は有効なユーザシェルのうちの一つのパス名である。
+(訳注. 一行に付き一つのシェルのパス名が書かれている。)
+もし \fI/etc/shells\fP が存在しないか、読み込み不可の場合には、
 .BR getusershell ()
-¤Ï \fI/bin/sh\fP ¤È \fI/bin/csh\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 ¥Õ¥¡¥¤¥ë¤Î
-¥Õ¥¡¥¤¥ë¥Ý¥¤¥ó¥¿¤òÀèƬ¤ËÌ᤹¡£
+関数は \fI/etc/shells\fP ファイルの
+ファイルポインタを先頭に戻す。
 .PP
 .\"O The
 .\"O .BR endusershell ()
 .\"O function closes \fI/etc/shells\fP.
 .BR endusershell ()
-´Ø¿ô¤Ï \fI/etc/shells\fP ¥Õ¥¡¥¤¥ë¤òÊĤ¸¤ë¡£
+関数は \fI/etc/shells\fP ファイルを閉じる。
 .\"O .SH "RETURN VALUE"
-.SH ÊÖ¤êÃÍ
+.SH 返り値
 .\"O The
 .\"O .BR getusershell ()
 .\"O function returns a NULL pointer on end-of-file.
 .BR getusershell ()
-´Ø¿ô¤Ï¥Õ¥¡¥¤¥ë¤Î½ªÃ¼¤Ç¤ÏNULL ¥Ý¥¤¥ó¥¿¤òÊÖ¤¹¡£
+関数はファイルの終端ではNULL ポインタを返す。
 .\"O .SH FILES
-.SH ¥Õ¥¡¥¤¥ë
+.SH ファイル
 .nf
 /etc/shells
 .fi
 .\"O .SH "CONFORMING TO"
-.SH ½àµò
+.SH 準拠
 4.3BSD.
 .\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
+.SH 関連項目
 .BR shells (5)