# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2012-05-01 04:22+0900\n" "PO-Revision-Date: 2012-05-07 23:13+0900\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: build/C/man2/_syscall.2:38 #, no-wrap msgid "_SYSCALL" msgstr "_SYSCALL" #. type: TH #: build/C/man2/_syscall.2:38 #, no-wrap msgid "2007-12-19" msgstr "2007-12-19" #. type: TH #: build/C/man2/_syscall.2:38 build/C/man2/access.2:43 build/C/man2/alarm.2:30 #: build/C/man2/brk.2:30 build/C/man2/chdir.2:33 build/C/man2/chmod.2:31 #: build/C/man2/chown.2:38 build/C/man2/chroot.2:33 build/C/man2/close.2:35 #: build/C/man2/dup.2:36 build/C/man7/environ.7:33 build/C/man2/execve.2:37 #: build/C/man2/exit_group.2:23 build/C/man2/fcntl.2:61 #: build/C/man3/fexecve.3:25 build/C/man2/flock.2:34 build/C/man2/fork.2:39 #: build/C/man2/fsync.2:38 build/C/man2/get_thread_area.2:6 #: build/C/man2/getdomainname.2:29 build/C/man2/getdtablesize.2:27 #: build/C/man3/gethostid.3:29 build/C/man2/gethostname.2:32 #: build/C/man2/getpagesize.2:23 build/C/man2/gettid.2:26 #: build/C/man2/idle.2:32 build/C/man2/ioctl.2:39 build/C/man2/ioctl_list.2:27 #: build/C/man2/ioperm.2:35 build/C/man2/mincore.2:34 build/C/man2/mkdir.2:9 #: build/C/man2/nice.2:31 build/C/man2/pread.2:23 #: build/C/man2/set_thread_area.2:7 build/C/man2/setup.2:34 #: build/C/man2/swapon.2:37 build/C/man2/syscall.2:38 #: build/C/man2/syscalls.2:29 build/C/man2/sysctl.2:28 #: build/C/man2/sysinfo.2:14 build/C/man2/truncate.2:41 #: build/C/man2/umask.2:34 build/C/man2/uname.2:25 build/C/man2/uselib.2:31 #: build/C/man2/vfork.2:26 build/C/man2/vhangup.2:27 #, no-wrap msgid "Linux" msgstr "Linux" #. type: TH #: build/C/man2/_syscall.2:38 build/C/man2/access.2:43 build/C/man2/alarm.2:30 #: build/C/man2/brk.2:30 build/C/man2/chdir.2:33 build/C/man2/chmod.2:31 #: build/C/man2/chown.2:38 build/C/man2/chroot.2:33 build/C/man2/close.2:35 #: build/C/man3/confstr.3:29 build/C/man3/crypt.3:35 build/C/man3/daemon.3:34 #: build/C/man3/des_crypt.3:10 build/C/man2/dup.2:36 build/C/man3/encrypt.3:24 #: build/C/man7/environ.7:33 build/C/man3/euidaccess.3:26 #: build/C/man3/exec.3:39 build/C/man2/execve.2:37 #: build/C/man2/exit_group.2:23 build/C/man2/fcntl.2:61 #: build/C/man3/fexecve.3:25 build/C/man2/flock.2:34 build/C/man2/fork.2:39 #: build/C/man3/fpathconf.3:24 build/C/man2/fsync.2:38 #: build/C/man2/get_thread_area.2:6 build/C/man3/getcwd.3:30 #: build/C/man2/getdomainname.2:29 build/C/man2/getdtablesize.2:27 #: build/C/man3/gethostid.3:29 build/C/man2/gethostname.2:32 #: build/C/man3/getlogin.3:28 build/C/man3/getopt.3:39 #: build/C/man2/getpagesize.2:23 build/C/man2/gettid.2:26 #: build/C/man3/getumask.3:26 build/C/man3/getusershell.3:28 #: build/C/man2/idle.2:32 build/C/man2/ioctl.2:39 build/C/man2/ioctl_list.2:27 #: build/C/man2/ioperm.2:35 build/C/man3/lockf.3:22 build/C/man2/mincore.2:34 #: build/C/man2/mkdir.2:9 build/C/man2/nice.2:31 build/C/man2/pread.2:23 #: build/C/man2/set_thread_area.2:7 build/C/man2/setup.2:34 #: build/C/man5/shells.5:27 build/C/man3/sleep.3:24 build/C/man3/swab.3:29 #: build/C/man2/swapon.2:37 build/C/man2/syscall.2:38 #: build/C/man2/syscalls.2:29 build/C/man3/sysconf.3:25 #: build/C/man2/sysctl.2:28 build/C/man2/sysinfo.2:14 #: build/C/man3/tcgetpgrp.3:23 build/C/man2/truncate.2:41 #: build/C/man3/ualarm.3:23 build/C/man2/umask.2:34 build/C/man2/uname.2:25 #: build/C/man2/uselib.2:31 build/C/man3/usleep.3:31 build/C/man2/vfork.2:26 #: build/C/man2/vhangup.2:27 #, no-wrap msgid "Linux Programmer's Manual" msgstr "Linux Programmer's Manual" #. type: SH #: build/C/man2/_syscall.2:39 build/C/man2/access.2:44 build/C/man2/alarm.2:31 #: build/C/man2/brk.2:31 build/C/man2/chdir.2:34 build/C/man2/chmod.2:32 #: build/C/man2/chown.2:39 build/C/man2/chroot.2:34 build/C/man2/close.2:36 #: build/C/man3/confstr.3:30 build/C/man3/crypt.3:36 build/C/man3/daemon.3:35 #: build/C/man3/des_crypt.3:11 build/C/man2/dup.2:37 build/C/man3/encrypt.3:25 #: build/C/man7/environ.7:34 build/C/man3/euidaccess.3:27 #: build/C/man3/exec.3:40 build/C/man2/execve.2:38 #: build/C/man2/exit_group.2:24 build/C/man2/fcntl.2:62 #: build/C/man3/fexecve.3:26 build/C/man2/flock.2:35 build/C/man2/fork.2:40 #: build/C/man3/fpathconf.3:25 build/C/man2/fsync.2:39 #: build/C/man2/get_thread_area.2:7 build/C/man3/getcwd.3:31 #: build/C/man2/getdomainname.2:30 build/C/man2/getdtablesize.2:28 #: build/C/man3/gethostid.3:30 build/C/man2/gethostname.2:33 #: build/C/man3/getlogin.3:29 build/C/man3/getopt.3:40 #: build/C/man2/getpagesize.2:24 build/C/man2/gettid.2:27 #: build/C/man3/getumask.3:27 build/C/man3/getusershell.3:29 #: build/C/man2/idle.2:33 build/C/man2/ioctl.2:40 build/C/man2/ioctl_list.2:28 #: build/C/man2/ioperm.2:36 build/C/man3/lockf.3:23 build/C/man2/mincore.2:35 #: build/C/man2/mkdir.2:10 build/C/man2/nice.2:32 build/C/man2/pread.2:24 #: build/C/man2/set_thread_area.2:8 build/C/man2/setup.2:35 #: build/C/man5/shells.5:28 build/C/man3/sleep.3:25 build/C/man3/swab.3:30 #: build/C/man2/swapon.2:38 build/C/man2/syscall.2:39 #: build/C/man2/syscalls.2:30 build/C/man3/sysconf.3:26 #: build/C/man2/sysctl.2:29 build/C/man2/sysinfo.2:15 #: build/C/man3/tcgetpgrp.3:24 build/C/man2/truncate.2:42 #: build/C/man3/ualarm.3:24 build/C/man2/umask.2:35 build/C/man2/uname.2:26 #: build/C/man2/uselib.2:32 build/C/man3/usleep.3:32 build/C/man2/vfork.2:27 #: build/C/man2/vhangup.2:28 #, no-wrap msgid "NAME" msgstr "名前" #. type: Plain text #: build/C/man2/_syscall.2:41 msgid "_syscall - invoking a system call without library support (OBSOLETE)" msgstr "" "_syscall - ライブラリのサポートなしでシステムコールを起動する (昔の方法)" #. type: SH #: build/C/man2/_syscall.2:41 build/C/man2/access.2:46 build/C/man2/alarm.2:33 #: build/C/man2/brk.2:33 build/C/man2/chdir.2:36 build/C/man2/chmod.2:34 #: build/C/man2/chown.2:41 build/C/man2/chroot.2:36 build/C/man2/close.2:38 #: build/C/man3/confstr.3:32 build/C/man3/crypt.3:38 build/C/man3/daemon.3:37 #: build/C/man3/des_crypt.3:14 build/C/man2/dup.2:39 build/C/man3/encrypt.3:27 #: build/C/man7/environ.7:36 build/C/man3/euidaccess.3:29 #: build/C/man3/exec.3:42 build/C/man2/execve.2:40 #: build/C/man2/exit_group.2:26 build/C/man2/fcntl.2:64 #: build/C/man3/fexecve.3:28 build/C/man2/flock.2:37 build/C/man2/fork.2:42 #: build/C/man3/fpathconf.3:27 build/C/man2/fsync.2:41 #: build/C/man2/get_thread_area.2:9 build/C/man3/getcwd.3:33 #: build/C/man2/getdomainname.2:32 build/C/man2/getdtablesize.2:30 #: build/C/man3/gethostid.3:32 build/C/man2/gethostname.2:35 #: build/C/man3/getlogin.3:31 build/C/man3/getopt.3:43 #: build/C/man2/getpagesize.2:26 build/C/man2/gettid.2:29 #: build/C/man3/getumask.3:29 build/C/man3/getusershell.3:31 #: build/C/man2/idle.2:35 build/C/man2/ioctl.2:42 build/C/man2/ioperm.2:38 #: build/C/man3/lockf.3:25 build/C/man2/mincore.2:37 build/C/man2/mkdir.2:12 #: build/C/man2/nice.2:34 build/C/man2/pread.2:26 #: build/C/man2/set_thread_area.2:10 build/C/man2/setup.2:37 #: build/C/man3/sleep.3:27 build/C/man3/swab.3:32 build/C/man2/swapon.2:40 #: build/C/man2/syscall.2:41 build/C/man2/syscalls.2:32 #: build/C/man3/sysconf.3:28 build/C/man2/sysctl.2:31 #: build/C/man2/sysinfo.2:17 build/C/man3/tcgetpgrp.3:26 #: build/C/man2/truncate.2:44 build/C/man3/ualarm.3:26 build/C/man2/umask.2:37 #: build/C/man2/uname.2:28 build/C/man2/uselib.2:34 build/C/man3/usleep.3:34 #: build/C/man2/vfork.2:29 build/C/man2/vhangup.2:30 #, no-wrap msgid "SYNOPSIS" msgstr "書式" #. type: Plain text #: build/C/man2/_syscall.2:43 build/C/man2/get_thread_area.2:11 #: build/C/man2/set_thread_area.2:12 msgid "B<#include Elinux/unistd.hE>" msgstr "B<#include Elinux/unistd.hE>" #. type: Plain text #: build/C/man2/_syscall.2:45 msgid "A _syscall macro" msgstr "A _syscall macro" #. type: Plain text #: build/C/man2/_syscall.2:47 msgid "desired system call" msgstr "desired system call" #. type: SH #: build/C/man2/_syscall.2:47 build/C/man2/access.2:52 build/C/man2/alarm.2:39 #: build/C/man2/brk.2:65 build/C/man2/chdir.2:59 build/C/man2/chmod.2:58 #: build/C/man2/chown.2:67 build/C/man2/chroot.2:63 build/C/man2/close.2:44 #: build/C/man3/confstr.3:46 build/C/man3/crypt.3:55 build/C/man3/daemon.3:49 #: build/C/man3/des_crypt.3:30 build/C/man2/dup.2:52 build/C/man3/encrypt.3:50 #: build/C/man7/environ.7:41 build/C/man3/euidaccess.3:37 #: build/C/man3/exec.3:70 build/C/man2/execve.2:46 #: build/C/man2/exit_group.2:32 build/C/man2/fcntl.2:71 #: build/C/man3/fexecve.3:53 build/C/man2/flock.2:41 build/C/man2/fork.2:46 #: build/C/man3/fpathconf.3:35 build/C/man2/fsync.2:61 #: build/C/man2/get_thread_area.2:15 build/C/man3/getcwd.3:73 #: build/C/man2/getdomainname.2:51 build/C/man2/getdtablesize.2:57 #: build/C/man3/gethostid.3:56 build/C/man2/gethostname.2:63 #: build/C/man3/getlogin.3:52 build/C/man3/getopt.3:77 #: build/C/man2/getpagesize.2:53 build/C/man2/gettid.2:35 #: build/C/man3/getumask.3:37 build/C/man3/getusershell.3:55 #: build/C/man2/idle.2:39 build/C/man2/ioctl.2:46 build/C/man2/ioctl_list.2:30 #: build/C/man2/ioperm.2:46 build/C/man3/lockf.3:42 build/C/man2/mincore.2:51 #: build/C/man2/mkdir.2:20 build/C/man2/nice.2:46 build/C/man2/pread.2:51 #: build/C/man2/set_thread_area.2:16 build/C/man2/setup.2:41 #: build/C/man5/shells.5:30 build/C/man3/sleep.3:33 build/C/man3/swab.3:39 #: build/C/man2/swapon.2:50 build/C/man2/syscall.2:49 #: build/C/man2/syscalls.2:34 build/C/man3/sysconf.3:34 #: build/C/man2/sysctl.2:39 build/C/man2/sysinfo.2:21 #: build/C/man3/tcgetpgrp.3:32 build/C/man2/truncate.2:77 #: build/C/man3/ualarm.3:57 build/C/man2/umask.2:43 build/C/man2/uname.2:32 #: build/C/man2/uselib.2:38 build/C/man3/usleep.3:65 build/C/man2/vfork.2:60 #: build/C/man2/vhangup.2:44 #, no-wrap msgid "DESCRIPTION" msgstr "説明" #. type: Plain text #: build/C/man2/_syscall.2:53 msgid "" "The important thing to know about a system call is its prototype. You need " "to know how many arguments, their types, and the function return type. " "There are seven macros that make the actual call into the system easier. " "They have the form:" msgstr "" "システムコールに関してそのプロトタイプを知ることが重要である。 引き数の個数、" "それらの型、返り値の型を知る必要がある。 実際の使用にあたっては、システムコー" "ルをシステムに呼び出しやすくするために、 7 個のマクロが用意されている。これら" "のマクロは以下の形である。" #. type: Plain text #: build/C/man2/_syscall.2:56 msgid "_syscallI(I,I,I,I,I,I,...)" msgstr "_syscallI(I,I,I,I,I,I,...)" #. type: Plain text #: build/C/man2/_syscall.2:59 msgid "where" msgstr "ここで" #. type: Plain text #: build/C/man2/_syscall.2:62 msgid "" "I is 0\\(en6, which are the number of arguments taken by the system call" msgstr "I は 0〜6 で、システムコールが取る引き数の個数である。" #. type: Plain text #: build/C/man2/_syscall.2:64 msgid "I is the return type of the system call" msgstr "I はシステムコールの返り値の型である。" #. type: Plain text #: build/C/man2/_syscall.2:66 msgid "I is the name of the system call" msgstr "I はシステムコールの名前である。" #. type: Plain text #: build/C/man2/_syscall.2:68 msgid "I is the Nth argument's type" msgstr "I は N 番目の引き数の型である。" #. type: Plain text #: build/C/man2/_syscall.2:70 msgid "I is the name of the Nth argument" msgstr "I は N 番目の引き数の名前である。" #. type: Plain text #: build/C/man2/_syscall.2:75 msgid "" "These macros create a function called I with the arguments you " "specify. Once you include the _syscall() in your source file, you call the " "system call by I." msgstr "" "これらのマクロは、指定した引き数を持つ I という名前の関数を生成する。 " "一度ソースファイルの中で _syscall() をインクルードしておくと、 そのシステム" "コールを I という名前で呼ぶことができる。" #. type: SH #: build/C/man2/_syscall.2:75 build/C/man3/getlogin.3:130 #: build/C/man3/getusershell.3:79 build/C/man5/shells.5:41 #, no-wrap msgid "FILES" msgstr "ファイル" #. type: Plain text #: build/C/man2/_syscall.2:77 msgid "I" msgstr "I" #. type: SH #: build/C/man2/_syscall.2:77 build/C/man2/access.2:148 #: build/C/man2/alarm.2:61 build/C/man2/brk.2:115 build/C/man2/chdir.2:125 #: build/C/man2/chmod.2:219 build/C/man2/chown.2:181 build/C/man2/chroot.2:134 #: build/C/man2/close.2:84 build/C/man3/confstr.3:125 build/C/man3/crypt.3:162 #: build/C/man3/daemon.3:88 build/C/man3/des_crypt.3:130 #: build/C/man2/dup.2:170 build/C/man3/encrypt.3:118 #: build/C/man3/euidaccess.3:74 build/C/man3/exec.3:197 #: build/C/man2/execve.2:435 build/C/man2/exit_group.2:41 #: build/C/man2/fcntl.2:1146 build/C/man3/fexecve.3:94 #: build/C/man2/flock.2:137 build/C/man2/fork.2:187 #: build/C/man3/fpathconf.3:152 build/C/man2/fsync.2:126 #: build/C/man2/get_thread_area.2:41 build/C/man3/getcwd.3:206 #: build/C/man2/getdomainname.2:110 build/C/man2/getdtablesize.2:69 #: build/C/man3/gethostid.3:92 build/C/man2/gethostname.2:124 #: build/C/man3/getlogin.3:138 build/C/man3/getopt.3:316 #: build/C/man2/getpagesize.2:62 build/C/man2/gettid.2:55 #: build/C/man3/getumask.3:56 build/C/man3/getusershell.3:83 #: build/C/man2/idle.2:61 build/C/man2/ioctl.2:115 build/C/man2/ioperm.2:95 #: build/C/man3/lockf.3:148 build/C/man2/mincore.2:134 #: build/C/man2/mkdir.2:113 build/C/man2/nice.2:75 build/C/man2/pread.2:113 #: build/C/man2/set_thread_area.2:59 build/C/man2/setup.2:62 #: build/C/man3/sleep.3:42 build/C/man3/swab.3:56 build/C/man2/swapon.2:151 #: build/C/man3/sysconf.3:322 build/C/man2/sysctl.2:95 #: build/C/man2/sysinfo.2:83 build/C/man3/tcgetpgrp.3:104 #: build/C/man2/truncate.2:193 build/C/man3/ualarm.3:91 #: build/C/man2/umask.2:93 build/C/man2/uname.2:71 build/C/man2/uselib.2:76 #: build/C/man3/usleep.3:84 build/C/man2/vfork.2:157 build/C/man2/vhangup.2:62 #, no-wrap msgid "CONFORMING TO" msgstr "準拠" #. type: Plain text #: build/C/man2/_syscall.2:79 msgid "The use of these macros is Linux-specific, and deprecated." msgstr "これらのマクロは Linux 固有であり、その使用は非推奨である。" #. type: SH #: build/C/man2/_syscall.2:79 build/C/man2/access.2:150 #: build/C/man2/alarm.2:63 build/C/man2/brk.2:123 build/C/man2/chdir.2:127 #: build/C/man2/chown.2:192 build/C/man2/chroot.2:139 build/C/man2/close.2:87 #: build/C/man3/crypt.3:167 build/C/man3/daemon.3:94 build/C/man2/dup.2:180 #: build/C/man3/encrypt.3:129 build/C/man3/euidaccess.3:80 #: build/C/man3/exec.3:203 build/C/man2/execve.2:443 #: build/C/man2/exit_group.2:43 build/C/man2/fcntl.2:1196 #: build/C/man3/fexecve.3:98 build/C/man2/flock.2:146 build/C/man2/fork.2:189 #: build/C/man3/fpathconf.3:154 build/C/man2/fsync.2:141 #: build/C/man2/get_thread_area.2:45 build/C/man3/getcwd.3:228 #: build/C/man2/getdomainname.2:113 build/C/man2/getdtablesize.2:77 #: build/C/man3/gethostid.3:102 build/C/man2/gethostname.2:130 #: build/C/man3/getopt.3:348 build/C/man2/getpagesize.2:69 #: build/C/man2/gettid.2:59 build/C/man3/getumask.3:58 #: build/C/man2/ioctl.2:130 build/C/man2/ioperm.2:99 build/C/man2/mkdir.2:116 #: build/C/man2/nice.2:82 build/C/man2/pread.2:115 #: build/C/man2/set_thread_area.2:63 build/C/man2/setup.2:65 #: build/C/man2/swapon.2:157 build/C/man2/syscall.2:63 #: build/C/man2/syscalls.2:616 build/C/man2/sysctl.2:109 #: build/C/man3/tcgetpgrp.3:106 build/C/man2/truncate.2:206 #: build/C/man3/ualarm.3:99 build/C/man2/umask.2:95 build/C/man2/uname.2:80 #: build/C/man2/uselib.2:80 build/C/man3/usleep.3:102 build/C/man2/vfork.2:172 #, no-wrap msgid "NOTES" msgstr "注意" #. type: Plain text #: build/C/man2/_syscall.2:89 msgid "" "Starting around kernel 2.6.18, the _syscall macros were removed from header " "files supplied to user space. Use B(2) instead. (Some " "architectures, notably ia64, never provided the _syscall macros; on those " "architectures, B(2) was always required.)" msgstr "" "カーネル 2.6.18 あたりから、_syscall マクロ群はユーザ空間に対して提供される " "ヘッダファイルから削除された。代わりに B(2) を使用すること。 (いく" "つかのアーキテクチャ、特に ia64、では、これまで _syscall マクロが 提供された" "ことはない。このようなアーキテクチャでは、常に B(2) が必要であっ" "た。)" #. type: Plain text #: build/C/man2/_syscall.2:93 msgid "" "The _syscall() macros I produce a prototype. You may have to create " "one, especially for C++ users." msgstr "" "_syscall() マクロはプロトタイプを「生成しない」。 ユーザはプロトタイプを自分" "で書かなければならないかもしれない。 とりわけ C++ ユーザの場合はそうであろ" "う。" #. type: Plain text #: build/C/man2/_syscall.2:105 msgid "" "System calls are not required to return only positive or negative error " "codes. You need to read the source to be sure how it will return errors. " "Usually, it is the negative of a standard error code, for example, -" "B. The _syscall() macros will return the result I of the system " "call when I is nonnegative, but will return -1 and set the variable " "I to -I when I is negative. For the error codes, see B" "(3)." msgstr "" "システムコールは、正のエラーコードのみ、または負のエラーコードのみを返すよう" "に 定められている訳ではない。そのシステムコールがどのようなエラーコードを返す" "かを 確認するには、そのソースコードを読む必要がある。たいていの場合は、標準の" "エラー コードを負にしたものである (例えば -B)。 _syscall() マクロは、" "そのシステムコールの返り値 I が負でない場合、その値 をそのまま返す。一方、" "I が負の場合には、変数 I に -I を設定し、-1 を返す。 エラーコー" "ドについては B(3) を参照。" #. The preferred way to invoke system calls that glibc does not know #. about yet is via #. .BR syscall (2). #. However, this mechanism can only be used if using a libc #. (such as glibc) that supports #. .BR syscall (2), #. and if the #. .I #. header file contains the required SYS_foo definition. #. Otherwise, the use of a _syscall macro is required. #. type: Plain text #: build/C/man2/_syscall.2:119 msgid "" "When defining a system call, the argument types I be passed by-value " "or by-pointer (for aggregates like structs)." msgstr "" "システムコールを定義する際、引き数の型は値渡し (by-value) か、 (構造体のよう" "に集合的なデータの場合は) ポインタ渡し (by-pointer) でなければならない。" #. type: SH #: build/C/man2/_syscall.2:119 build/C/man2/chown.2:288 #: build/C/man3/confstr.3:127 build/C/man3/encrypt.3:131 #: build/C/man2/execve.2:527 build/C/man2/fork.2:220 build/C/man3/getopt.3:374 #: build/C/man5/shells.5:43 build/C/man2/syscall.2:67 #: build/C/man2/sysctl.2:129 #, no-wrap msgid "EXAMPLE" msgstr "例" #. type: Plain text #: build/C/man2/_syscall.2:126 #, no-wrap msgid "" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Eerrno.hE\n" "#include Elinux/unistd.hE /* for _syscallX macros/related stuff */\n" "#include Elinux/kernel.hE /* for struct sysinfo */\n" msgstr "" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Eerrno.hE\n" "#include Elinux/unistd.hE /* for _syscallX macros/related stuff */\n" "#include Elinux/kernel.hE /* for struct sysinfo */\n" #. type: Plain text #: build/C/man2/_syscall.2:128 #, no-wrap msgid "_syscall1(int, sysinfo, struct sysinfo *, info);\n" msgstr "_syscall1(int, sysinfo, struct sysinfo *, info);\n" #. type: Plain text #: build/C/man2/_syscall.2:131 #, no-wrap msgid "" "/* Note: if you copy directly from the nroff source, remember to\n" "REMOVE the extra backslashes in the printf statement. */\n" msgstr "" "/* Note: nroff のソースファイルから直接コピーする際には、\n" "printf 文内の余分なバックスラッシュを忘れずに削除するように。 */\n" #. type: Plain text #: build/C/man2/_syscall.2:137 #, no-wrap msgid "" "int\n" "main(void)\n" "{\n" " struct sysinfo s_info;\n" " int error;\n" msgstr "" "int\n" "main(void)\n" "{\n" " struct sysinfo s_info;\n" " int error;\n" #. type: Plain text #: build/C/man2/_syscall.2:152 #, no-wrap msgid "" " error = sysinfo(&s_info);\n" " printf(\"code error = %d\\en\", error);\n" " printf(\"Uptime = %lds\\enLoad: 1 min %lu / 5 min %lu / 15 min %lu\\en\"\n" " \"RAM: total %lu / free %lu / shared %lu\\en\"\n" " \"Memory in buffers = %lu\\enSwap: total %lu / free %lu\\en\"\n" " \"Number of processes = %d\\en\",\n" " s_info.uptime, s_info.loads[0],\n" " s_info.loads[1], s_info.loads[2],\n" " s_info.totalram, s_info.freeram,\n" " s_info.sharedram, s_info.bufferram,\n" " s_info.totalswap, s_info.freeswap,\n" " s_info.procs);\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" " error = sysinfo(&s_info);\n" " printf(\"code error = %d\\en\", error);\n" " printf(\"Uptime = %lds\\enLoad: 1 min %lu / 5 min %lu / 15 min %lu\\en\"\n" " \"RAM: total %lu / free %lu / shared %lu\\en\"\n" " \"Memory in buffers = %lu\\enSwap: total %lu / free %lu\\en\"\n" " \"Number of processes = %d\\en\",\n" " s_info.uptime, s_info.loads[0],\n" " s_info.loads[1], s_info.loads[2],\n" " s_info.totalram, s_info.freeram,\n" " s_info.sharedram, s_info.bufferram,\n" " s_info.totalswap, s_info.freeswap,\n" " s_info.procs);\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: SS #: build/C/man2/_syscall.2:153 #, no-wrap msgid "Sample Output" msgstr "Sample Output" #. type: Plain text #: build/C/man2/_syscall.2:162 #, no-wrap msgid "" "code error = 0\n" "uptime = 502034s\n" "Load: 1 min 13376 / 5 min 5504 / 15 min 1152\n" "RAM: total 15343616 / free 827392 / shared 8237056\n" "Memory in buffers = 5066752\n" "Swap: total 27881472 / free 24698880\n" "Number of processes = 40\n" msgstr "" "code error = 0\n" "uptime = 502034s\n" "Load: 1 min 13376 / 5 min 5504 / 15 min 1152\n" "RAM: total 15343616 / free 827392 / shared 8237056\n" "Memory in buffers = 5066752\n" "Swap: total 27881472 / free 24698880\n" "Number of processes = 40\n" #. type: SH #: build/C/man2/_syscall.2:163 build/C/man2/access.2:241 #: build/C/man2/alarm.2:81 build/C/man2/brk.2:165 build/C/man2/chdir.2:136 #: build/C/man2/chmod.2:221 build/C/man2/chown.2:336 build/C/man2/chroot.2:151 #: build/C/man2/close.2:125 build/C/man3/confstr.3:144 #: build/C/man3/crypt.3:228 build/C/man3/daemon.3:102 #: build/C/man3/des_crypt.3:133 build/C/man2/dup.2:207 #: build/C/man3/encrypt.3:155 build/C/man7/environ.7:227 #: build/C/man3/euidaccess.3:95 build/C/man3/exec.3:239 #: build/C/man2/execve.2:622 build/C/man2/exit_group.2:47 #: build/C/man2/fcntl.2:1297 build/C/man3/fexecve.3:106 #: build/C/man2/flock.2:200 build/C/man2/fork.2:225 #: build/C/man3/fpathconf.3:163 build/C/man2/fsync.2:163 #: build/C/man2/get_thread_area.2:49 build/C/man3/getcwd.3:247 #: build/C/man2/getdomainname.2:127 build/C/man2/getdtablesize.2:90 #: build/C/man3/gethostid.3:124 build/C/man2/gethostname.2:176 #: build/C/man3/getlogin.3:193 build/C/man3/getopt.3:512 #: build/C/man2/getpagesize.2:106 build/C/man2/gettid.2:68 #: build/C/man3/getumask.3:61 build/C/man3/getusershell.3:85 #: build/C/man2/ioctl.2:138 build/C/man2/ioctl_list.2:866 #: build/C/man2/ioperm.2:108 build/C/man3/lockf.3:150 #: build/C/man2/mincore.2:166 build/C/man2/mkdir.2:128 build/C/man2/nice.2:105 #: build/C/man2/pread.2:131 build/C/man2/set_thread_area.2:67 #: build/C/man5/shells.5:52 build/C/man3/sleep.3:59 build/C/man3/swab.3:58 #: build/C/man2/swapon.2:191 build/C/man2/syscall.2:82 #: build/C/man2/syscalls.2:792 build/C/man3/sysconf.3:333 #: build/C/man2/sysctl.2:167 build/C/man2/sysinfo.2:94 #: build/C/man3/tcgetpgrp.3:115 build/C/man2/truncate.2:249 #: build/C/man3/ualarm.3:134 build/C/man2/umask.2:116 build/C/man2/uname.2:155 #: build/C/man2/uselib.2:102 build/C/man3/usleep.3:135 #: build/C/man2/vfork.2:270 build/C/man2/vhangup.2:65 #, no-wrap msgid "SEE ALSO" msgstr "関連項目" #. type: Plain text #: build/C/man2/_syscall.2:167 msgid "B(2), B(2), B(3)" msgstr "B(2), B(2), B(3)" #. type: SH #: build/C/man2/_syscall.2:167 build/C/man2/access.2:252 #: build/C/man2/alarm.2:90 build/C/man2/brk.2:170 build/C/man2/chdir.2:140 #: build/C/man2/chmod.2:228 build/C/man2/chown.2:342 build/C/man2/chroot.2:154 #: build/C/man2/close.2:132 build/C/man3/confstr.3:148 #: build/C/man3/crypt.3:234 build/C/man3/daemon.3:105 #: build/C/man3/des_crypt.3:137 build/C/man2/dup.2:211 #: build/C/man3/encrypt.3:160 build/C/man7/environ.7:241 #: build/C/man3/euidaccess.3:106 build/C/man3/exec.3:246 #: build/C/man2/execve.2:633 build/C/man2/exit_group.2:49 #: build/C/man2/fcntl.2:1319 build/C/man3/fexecve.3:108 #: build/C/man2/flock.2:214 build/C/man2/fork.2:235 #: build/C/man3/fpathconf.3:168 build/C/man2/fsync.2:172 #: build/C/man2/get_thread_area.2:52 build/C/man3/getcwd.3:254 #: build/C/man2/getdomainname.2:131 build/C/man2/getdtablesize.2:95 #: build/C/man3/gethostid.3:127 build/C/man2/gethostname.2:180 #: build/C/man3/getlogin.3:197 build/C/man3/getopt.3:514 #: build/C/man2/getpagesize.2:109 build/C/man2/gettid.2:72 #: build/C/man3/getumask.3:63 build/C/man3/getusershell.3:87 #: build/C/man2/idle.2:64 build/C/man2/ioctl.2:146 #: build/C/man2/ioctl_list.2:868 build/C/man2/ioperm.2:111 #: build/C/man3/lockf.3:166 build/C/man2/mincore.2:169 #: build/C/man2/mkdir.2:140 build/C/man2/nice.2:112 build/C/man2/pread.2:136 #: build/C/man2/set_thread_area.2:69 build/C/man2/setup.2:72 #: build/C/man5/shells.5:55 build/C/man3/sleep.3:64 build/C/man3/swab.3:60 #: build/C/man2/swapon.2:195 build/C/man2/syscall.2:86 #: build/C/man2/syscalls.2:796 build/C/man3/sysconf.3:341 #: build/C/man2/sysctl.2:169 build/C/man2/sysinfo.2:96 #: build/C/man3/tcgetpgrp.3:119 build/C/man2/truncate.2:253 #: build/C/man3/ualarm.3:142 build/C/man2/umask.2:122 build/C/man2/uname.2:159 #: build/C/man2/uselib.2:112 build/C/man3/usleep.3:144 #: build/C/man2/vfork.2:276 build/C/man2/vhangup.2:68 #, no-wrap msgid "COLOPHON" msgstr "この文書について" #. type: Plain text #: build/C/man2/_syscall.2:174 build/C/man2/access.2:259 #: build/C/man2/alarm.2:97 build/C/man2/brk.2:177 build/C/man2/chdir.2:147 #: build/C/man2/chmod.2:235 build/C/man2/chown.2:349 build/C/man2/chroot.2:161 #: build/C/man2/close.2:139 build/C/man3/confstr.3:155 #: build/C/man3/crypt.3:241 build/C/man3/daemon.3:112 #: build/C/man3/des_crypt.3:144 build/C/man2/dup.2:218 #: build/C/man3/encrypt.3:167 build/C/man7/environ.7:248 #: build/C/man3/euidaccess.3:113 build/C/man3/exec.3:253 #: build/C/man2/execve.2:640 build/C/man2/exit_group.2:56 #: build/C/man2/fcntl.2:1326 build/C/man3/fexecve.3:115 #: build/C/man2/flock.2:221 build/C/man2/fork.2:242 #: build/C/man3/fpathconf.3:175 build/C/man2/fsync.2:179 #: build/C/man2/get_thread_area.2:59 build/C/man3/getcwd.3:261 #: build/C/man2/getdomainname.2:138 build/C/man2/getdtablesize.2:102 #: build/C/man3/gethostid.3:134 build/C/man2/gethostname.2:187 #: build/C/man3/getlogin.3:204 build/C/man3/getopt.3:521 #: build/C/man2/getpagesize.2:116 build/C/man2/gettid.2:79 #: build/C/man3/getumask.3:70 build/C/man3/getusershell.3:94 #: build/C/man2/idle.2:71 build/C/man2/ioctl.2:153 #: build/C/man2/ioctl_list.2:875 build/C/man2/ioperm.2:118 #: build/C/man3/lockf.3:173 build/C/man2/mincore.2:176 #: build/C/man2/mkdir.2:147 build/C/man2/nice.2:119 build/C/man2/pread.2:143 #: build/C/man2/set_thread_area.2:76 build/C/man2/setup.2:79 #: build/C/man5/shells.5:62 build/C/man3/sleep.3:71 build/C/man3/swab.3:67 #: build/C/man2/swapon.2:202 build/C/man2/syscall.2:93 #: build/C/man2/syscalls.2:803 build/C/man3/sysconf.3:348 #: build/C/man2/sysctl.2:176 build/C/man2/sysinfo.2:103 #: build/C/man3/tcgetpgrp.3:126 build/C/man2/truncate.2:260 #: build/C/man3/ualarm.3:149 build/C/man2/umask.2:129 build/C/man2/uname.2:166 #: build/C/man2/uselib.2:119 build/C/man3/usleep.3:151 #: build/C/man2/vfork.2:283 build/C/man2/vhangup.2:75 msgid "" "This page is part of release 3.40 of the Linux I project. A " "description of the project, and information about reporting bugs, can be " "found at http://www.kernel.org/doc/man-pages/." msgstr "" "この man ページは Linux I プロジェクトのリリース 3.40 の一部\n" "である。プロジェクトの説明とバグ報告に関する情報は\n" "http://www.kernel.org/doc/man-pages/ に書かれている。" #. type: TH #: build/C/man2/access.2:43 #, no-wrap msgid "ACCESS" msgstr "ACCESS" #. type: TH #: build/C/man2/access.2:43 #, no-wrap msgid "2010-10-24" msgstr "2010-10-24" #. type: Plain text #: build/C/man2/access.2:46 msgid "access - check real user's permissions for a file" msgstr "access - ファイルに対する実ユーザーでのアクセス権をチェックする" #. type: Plain text #: build/C/man2/access.2:49 build/C/man2/alarm.2:36 build/C/man2/close.2:41 #: build/C/man3/confstr.3:35 build/C/man3/crypt.3:43 build/C/man2/dup.2:42 #: build/C/man3/fexecve.3:31 build/C/man3/fpathconf.3:30 #: build/C/man3/getcwd.3:36 build/C/man3/getopt.3:46 #: build/C/man3/getusershell.3:34 build/C/man3/sleep.3:30 #: build/C/man3/sysconf.3:31 build/C/man2/sysctl.2:34 build/C/man3/ualarm.3:29 #: build/C/man3/usleep.3:37 #, no-wrap msgid "B<#include Eunistd.hE>\n" msgstr "B<#include Eunistd.hE>\n" #. type: Plain text #: build/C/man2/access.2:51 #, no-wrap msgid "BIB<, int >IB<);>\n" msgstr "BIB<, int >IB<);>\n" #. type: Plain text #: build/C/man2/access.2:59 msgid "" "B() checks whether the calling process can access the file " "I. If I is a symbolic link, it is dereferenced." msgstr "" "B() は、呼び出し元プロセスがファイル I にアクセスできるか" "どうかをチェックする。 I がシンボリック・リンクの場合、シンボリッ" "ク・リンクは展開される。" #. F_OK is defined as 0 on every system that I know of. #. type: Plain text #: build/C/man2/access.2:73 msgid "" "The I specifies the accessibility check(s) to be performed, and is " "either the value B, or a mask consisting of the bitwise OR of one or " "more of B, B, and B. B tests for the existence of " "the file. B, B, and B test whether the file exists and " "grants read, write, and execute permissions, respectively." msgstr "" "I はチェックを行うアクセス権を指定するもので、その値は B、 もしく" "は B, B, B の 1個以上のビット単位の論理和から構成されるマス" "クである。 B はファイルが存在するかどうかのみを検査する。 B, " "B, B は、ファイルが存在して、それぞれ読み込み、書き込み、実行の許" "可があるか を検査する。" #. type: Plain text #: build/C/man2/access.2:82 msgid "" "The check is done using the calling process's I UID and GID, rather " "than the effective IDs as is done when actually attempting an operation (e." "g., B(2)) on the file. This allows set-user-ID programs to easily " "determine the invoking user's authority." msgstr "" "チェックは、実際に操作が行われる際に使用される実効 (effective) ID でなく、 呼" "び出し元プロセスの I<実 (real)> UID と I<実 (real)> GID を使って行われる。 こ" "れにより、set-user-ID プログラムで、プログラムを起動するユーザの権限を 簡単に" "決定することができる。" #. type: Plain text #: build/C/man2/access.2:88 msgid "" "If the calling process is privileged (i.e., its real UID is zero), then an " "B check is successful for a regular file if execute permission is " "enabled for any of the file owner, group, or other." msgstr "" "呼び出し元プロセスが特権プロセス (つまり、プロセスの実 UID が 0) の場合、 通" "常のファイルに対する B のチェックは、そのファイルの所有者、グループ、他" "人のいずれかの 実行許可が有効になっていれば成功する。" #. type: SH #: build/C/man2/access.2:88 build/C/man2/alarm.2:56 build/C/man2/brk.2:94 #: build/C/man2/chdir.2:70 build/C/man2/chmod.2:153 build/C/man2/chown.2:119 #: build/C/man2/chroot.2:90 build/C/man2/close.2:64 build/C/man3/confstr.3:92 #: build/C/man3/crypt.3:119 build/C/man3/daemon.3:70 #: build/C/man3/des_crypt.3:102 build/C/man2/dup.2:120 #: build/C/man3/encrypt.3:107 build/C/man3/euidaccess.3:59 #: build/C/man3/exec.3:181 build/C/man2/execve.2:340 #: build/C/man2/exit_group.2:37 build/C/man2/fcntl.2:1051 #: build/C/man3/fexecve.3:67 build/C/man2/flock.2:110 build/C/man2/fork.2:160 #: build/C/man3/fpathconf.3:143 build/C/man2/fsync.2:109 #: build/C/man2/get_thread_area.2:24 build/C/man3/getcwd.3:154 #: build/C/man2/getdomainname.2:75 build/C/man2/getdtablesize.2:61 #: build/C/man3/gethostid.3:71 build/C/man2/gethostname.2:89 #: build/C/man3/getlogin.3:95 build/C/man3/getopt.3:272 #: build/C/man2/gettid.2:47 build/C/man3/getusershell.3:75 #: build/C/man2/idle.2:52 build/C/man2/ioctl.2:81 #: build/C/man2/ioctl_list.2:103 build/C/man2/ioperm.2:73 #: build/C/man3/lockf.3:110 build/C/man2/mincore.2:94 build/C/man2/mkdir.2:47 #: build/C/man2/nice.2:56 build/C/man2/pread.2:77 #: build/C/man2/set_thread_area.2:40 build/C/man2/setup.2:53 #: build/C/man3/sleep.3:38 build/C/man3/swab.3:52 build/C/man2/swapon.2:108 #: build/C/man2/syscall.2:57 build/C/man3/sysconf.3:309 #: build/C/man2/sysctl.2:69 build/C/man2/sysinfo.2:74 #: build/C/man3/tcgetpgrp.3:59 build/C/man2/truncate.2:108 #: build/C/man3/ualarm.3:80 build/C/man2/umask.2:90 build/C/man2/uname.2:61 #: build/C/man2/uselib.2:48 build/C/man3/usleep.3:73 build/C/man2/vhangup.2:49 #, no-wrap msgid "RETURN VALUE" msgstr "返り値" #. type: Plain text #: build/C/man2/access.2:96 build/C/man3/euidaccess.3:67 msgid "" "On success (all requested permissions granted), zero is returned. On error " "(at least one bit in I asked for a permission that is denied, or some " "other error occurred), -1 is returned, and I is set appropriately." msgstr "" "成功した場合 (要求した全てについて許可が得られたら)、ゼロが返される。 エラー" "の場合 (I の少なくとも一つのビットで要求した許可がなかった場合や、 他の" "エラーが起こった場合)、-1 が返され、 I が適切に設定される。" #. type: SH #: build/C/man2/access.2:96 build/C/man2/chdir.2:75 build/C/man2/chmod.2:158 #: build/C/man2/chown.2:124 build/C/man2/chroot.2:95 build/C/man2/close.2:70 #: build/C/man3/confstr.3:119 build/C/man3/crypt.3:122 build/C/man2/dup.2:126 #: build/C/man3/encrypt.3:109 build/C/man3/euidaccess.3:67 #: build/C/man3/exec.3:188 build/C/man2/execve.2:346 build/C/man2/fcntl.2:1084 #: build/C/man3/fexecve.3:74 build/C/man2/flock.2:115 build/C/man2/fork.2:167 #: build/C/man2/fsync.2:114 build/C/man2/get_thread_area.2:30 #: build/C/man3/getcwd.3:170 build/C/man2/getdomainname.2:80 #: build/C/man2/getdtablesize.2:63 build/C/man3/gethostid.3:81 #: build/C/man2/gethostname.2:94 build/C/man3/getlogin.3:101 #: build/C/man2/gettid.2:49 build/C/man2/idle.2:55 build/C/man2/ioctl.2:90 #: build/C/man2/ioperm.2:78 build/C/man3/lockf.3:115 #: build/C/man2/mincore.2:101 build/C/man2/mkdir.2:52 build/C/man2/nice.2:61 #: build/C/man2/pread.2:87 build/C/man2/set_thread_area.2:45 #: build/C/man2/setup.2:56 build/C/man2/swapon.2:113 build/C/man2/sysctl.2:76 #: build/C/man2/sysinfo.2:79 build/C/man3/tcgetpgrp.3:81 #: build/C/man2/truncate.2:113 build/C/man3/ualarm.3:83 #: build/C/man2/uname.2:66 build/C/man2/uselib.2:53 build/C/man3/usleep.3:75 #: build/C/man2/vhangup.2:54 #, no-wrap msgid "ERRORS" msgstr "エラー" #. type: Plain text #: build/C/man2/access.2:99 msgid "B() shall fail if:" msgstr "B() は以下の場合に失敗する。" #. type: TP #: build/C/man2/access.2:99 build/C/man2/chdir.2:81 build/C/man2/chdir.2:117 #: build/C/man2/chmod.2:163 build/C/man2/chown.2:129 build/C/man2/chroot.2:98 #: build/C/man2/execve.2:354 build/C/man2/execve.2:361 #: build/C/man2/execve.2:364 build/C/man2/execve.2:367 #: build/C/man3/getcwd.3:171 build/C/man3/gethostid.3:84 #: build/C/man2/mkdir.2:53 build/C/man2/truncate.2:116 #: build/C/man2/uselib.2:59 #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: build/C/man2/access.2:106 msgid "" "The requested access would be denied to the file, or search permission is " "denied for one of the directories in the path prefix of I. (See " "also B(7).)" msgstr "" "要求されたアクセスは そのファイル自身に拒否されたか I へ至るまで" "ディレクトリのいずれかに対する検索許可 (search permission) が得られなかっ" "た。 (B(7) も参照のこと)" #. type: TP #: build/C/man2/access.2:106 build/C/man2/chdir.2:94 build/C/man2/chmod.2:175 #: build/C/man2/chown.2:138 build/C/man2/chroot.2:112 #: build/C/man2/execve.2:388 build/C/man2/mkdir.2:71 #: build/C/man2/truncate.2:149 #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: build/C/man2/access.2:110 build/C/man2/mkdir.2:75 msgid "Too many symbolic links were encountered in resolving I." msgstr "I を解決するときに、解決すべきシンボリックリンクが多すぎた。" #. type: TP #: build/C/man2/access.2:110 build/C/man2/chdir.2:98 build/C/man2/chmod.2:179 #: build/C/man2/chown.2:142 build/C/man2/chroot.2:116 #: build/C/man2/execve.2:396 build/C/man2/gethostname.2:109 #: build/C/man2/mkdir.2:79 build/C/man2/truncate.2:152 #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: build/C/man2/access.2:114 msgid "I is too long." msgstr "I が長過ぎる。" #. type: TP #: build/C/man2/access.2:114 build/C/man2/chdir.2:102 build/C/man2/chmod.2:183 #: build/C/man2/chown.2:146 build/C/man2/chown.2:172 build/C/man2/chroot.2:120 #: build/C/man2/execve.2:403 build/C/man3/getcwd.3:196 #: build/C/man3/getlogin.3:120 build/C/man2/mkdir.2:82 #: build/C/man2/swapon.2:136 build/C/man2/truncate.2:156 #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: build/C/man2/access.2:119 msgid "" "A component of I does not exist or is a dangling symbolic link." msgstr "" "I を構成するパスのいずれかが、存在しないか、 参照先のない " "(dangling) シンボリックリンクになっている。" #. type: TP #: build/C/man2/access.2:119 build/C/man2/chdir.2:108 build/C/man2/chmod.2:189 #: build/C/man2/chown.2:152 build/C/man2/chroot.2:126 #: build/C/man2/execve.2:417 build/C/man2/mkdir.2:99 build/C/man2/sysctl.2:83 #: build/C/man2/truncate.2:159 #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: build/C/man2/access.2:124 build/C/man2/mkdir.2:104 msgid "" "A component used as a directory in I is not, in fact, a directory." msgstr "I のディレクトリ部分が実際にはディレクトリでない。" #. type: TP #: build/C/man2/access.2:124 build/C/man2/chmod.2:198 build/C/man2/chmod.2:216 #: build/C/man2/chown.2:159 build/C/man2/chown.2:178 build/C/man2/mkdir.2:109 #: build/C/man2/truncate.2:168 #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: build/C/man2/access.2:127 msgid "Write permission was requested for a file on a read-only file system." msgstr "" "読み込み専用 (read-only) のファイル・システムに対して書き込み許可を 要求し" "た。" #. type: Plain text #: build/C/man2/access.2:130 msgid "B() may fail if:" msgstr "B() は以下の理由により失敗することがある。" #. type: TP #: build/C/man2/access.2:130 build/C/man2/chdir.2:87 build/C/man2/chmod.2:168 #: build/C/man2/chown.2:134 build/C/man2/chroot.2:105 #: build/C/man2/execve.2:371 build/C/man2/fcntl.2:1106 #: build/C/man2/get_thread_area.2:31 build/C/man3/getcwd.3:174 #: build/C/man2/getdomainname.2:83 build/C/man2/gethostname.2:95 #: build/C/man2/ioctl.2:95 build/C/man2/mincore.2:104 build/C/man2/mkdir.2:68 #: build/C/man2/set_thread_area.2:49 build/C/man2/sysctl.2:77 #: build/C/man2/sysinfo.2:80 build/C/man2/truncate.2:122 #: build/C/man2/uname.2:67 #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: build/C/man2/access.2:134 build/C/man2/mkdir.2:71 msgid "I points outside your accessible address space." msgstr "I がアクセス可能なアドレス空間の外を指している。" #. type: TP #: build/C/man2/access.2:134 build/C/man3/confstr.3:120 build/C/man2/dup.2:151 #: build/C/man2/execve.2:375 build/C/man2/fcntl.2:1122 #: build/C/man3/fexecve.3:78 build/C/man2/flock.2:125 #: build/C/man2/get_thread_area.2:34 build/C/man3/getcwd.3:178 #: build/C/man2/getdomainname.2:87 build/C/man2/getdomainname.2:99 #: build/C/man2/gethostname.2:99 build/C/man2/ioctl.2:99 #: build/C/man2/ioperm.2:79 build/C/man3/lockf.3:141 #: build/C/man2/mincore.2:108 build/C/man2/set_thread_area.2:46 #: build/C/man2/swapon.2:121 build/C/man3/tcgetpgrp.3:86 #: build/C/man2/truncate.2:138 build/C/man2/truncate.2:189 #: build/C/man3/ualarm.3:87 build/C/man3/usleep.3:80 #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: build/C/man2/access.2:138 msgid "I was incorrectly specified." msgstr "I に不正な値が指定された。" #. type: TP #: build/C/man2/access.2:138 build/C/man2/chdir.2:91 build/C/man2/chmod.2:172 #: build/C/man2/chmod.2:210 build/C/man2/chown.2:169 build/C/man2/chroot.2:109 #: build/C/man2/close.2:81 build/C/man2/execve.2:379 build/C/man2/fsync.2:119 #: build/C/man2/ioperm.2:85 build/C/man2/truncate.2:143 #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: build/C/man2/access.2:141 build/C/man2/chdir.2:94 build/C/man2/chmod.2:175 #: build/C/man2/chroot.2:112 build/C/man2/close.2:84 build/C/man2/execve.2:382 msgid "An I/O error occurred." msgstr "I/O エラーが発生した。" #. type: TP #: build/C/man2/access.2:141 build/C/man2/chdir.2:105 build/C/man2/chmod.2:186 #: build/C/man2/chown.2:149 build/C/man2/chroot.2:123 #: build/C/man2/execve.2:414 build/C/man2/fork.2:183 #: build/C/man3/getlogin.3:123 build/C/man2/ioperm.2:88 #: build/C/man2/mincore.2:112 build/C/man2/mincore.2:124 #: build/C/man2/mkdir.2:87 build/C/man2/swapon.2:141 #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: build/C/man2/access.2:144 build/C/man2/chdir.2:108 build/C/man2/chmod.2:189 #: build/C/man2/chown.2:152 build/C/man2/chroot.2:126 #: build/C/man2/execve.2:417 build/C/man2/mkdir.2:90 msgid "Insufficient kernel memory was available." msgstr "カーネルに十分なメモリがない。" #. type: TP #: build/C/man2/access.2:144 build/C/man2/execve.2:432 #: build/C/man2/truncate.2:171 #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: build/C/man2/access.2:148 msgid "Write access was requested to an executable which is being executed." msgstr "実行中のファイルに対して書き込みを要求した。" #. type: Plain text #: build/C/man2/access.2:150 build/C/man2/close.2:87 build/C/man2/fork.2:189 #: build/C/man3/swab.3:58 build/C/man2/umask.2:95 msgid "SVr4, 4.3BSD, POSIX.1-2001." msgstr "SVr4, 4.3BSD, POSIX.1-2001." #. type: Plain text #: build/C/man2/access.2:165 msgid "" "B: Using B() to check if a user is authorized to, for " "example, open a file before actually doing so using B(2) creates a " "security hole, because the user might exploit the short time interval " "between checking and opening the file to manipulate it. B. (In the example just " "described, a safer alternative would be to temporarily switch the process's " "effective user ID to the real ID and then call B(2).)" msgstr "" "B<警告>: あるユーザが、例えば B(2) によるアクセスが可能かどうかを、\n" "(実際に行う前に) B() を使ってチェックするのは、セキュリティホール\n" "の原因になる。なぜならチェックをしてから 実際にファイルのオープン操作を\n" "する間の短い間隔を悪用できるからである。 B<この理由があるので、この\n" "システムコールを使うのは避けるべきである。>\n" "(ここで説明した例の場合には、より安全な方法としては、\n" "そのプロセスの実効ユーザ ID を実ユーザ ID に一時的に切り替えてから\n" "B(2) を呼び出す方法がある。)" #. type: Plain text #: build/C/man2/access.2:172 msgid "" "B() always dereferences symbolic links. If you need to check the " "permissions on a symbolic link, use B with the flag " "B." msgstr "" "B() は常にシンボリックリンクの展開を行う。\n" "シンボリックリンクのアクセス許可を確認する必要がある場合は、\n" "B フラグ付きで B を使うこと。" #. type: Plain text #: build/C/man2/access.2:179 msgid "" "B() returns an error if any of the access types in I is " "denied, even if some of the other access types in I are permitted." msgstr "" "I で指定されたアクセス種別のいずれか一つでも拒否されると、 たとえ " "I で指定された他のアクセス種別が許可されたとしても、 B() はエ" "ラーを返す。" #. HPU-UX 11 and Tru64 5.1 do this. #. type: Plain text #: build/C/man2/access.2:186 msgid "" "If the calling process has appropriate privileges (i.e., is superuser), " "POSIX.1-2001 permits an implementation to indicate success for an B " "check even if none of the execute file permission bits are set. Linux does " "not do this." msgstr "" "POSIX.1-2001 では、 呼び出し元プロセスが適切な特権を持っている場合 (つまり、" "スーパーユーザの場合)、 たとえファイルの実行許可ビットが全くセットされていな" "くても B のチェックとして成功を返す実装が認められている。 Linux はこの" "ようにはなっていない。" #. type: Plain text #: build/C/man2/access.2:194 msgid "" "A file is only accessible if the permissions on each of the directories in " "the path prefix of I grant search (i.e., execute) access. If any " "directory is inaccessible, then the B() call will fail, regardless " "of the permissions on the file itself." msgstr "" "I のプレフィックスを構成するディレクトリの全てに対して 検索アクセ" "ス (すなわち、実行アクセス) が許可された場合にのみ、 ファイルはアクセス可能と" "なる。 いずれかのディレクトリがアクセス不可の場合、 ファイル自身のアクセス許" "可に関わらず、 B() は失敗する。" #. type: Plain text #: build/C/man2/access.2:202 msgid "" "Only access bits are checked, not the file type or contents. Therefore, if " "a directory is found to be writable, it probably means that files can be " "created in the directory, and not that the directory can be written as a " "file. Similarly, a DOS file may be found to be \"executable,\" but the " "B(2) call will still fail." msgstr "" "アクセス・ビットのみがチェックされ、ファイルの種類や内容はチェックされない。 " "従って、ディレクトリが書き込み可能となった場合は、ディレクトリに ファイルを作" "成することが可能なことを意味するのであり、ディレクトリに ファイルとして書き込" "むことができるわけではない。 同様に DOS のファイルは「実行可能」と判断される" "が、 B(2) コールは失敗するだろう。" #. type: Plain text #: build/C/man2/access.2:207 msgid "" "B() may not work correctly on NFS file systems with UID mapping " "enabled, because UID mapping is done on the server and hidden from the " "client, which checks permissions." msgstr "" "B() は、 UID マッピングを使用した NFS ファイル・システムでは正常に " "機能しないかもしれない。なぜならば UID のマッピングはサーバーで 行なわれ、権" "利のチェックをするクライアントには見えないからである。" #. type: SH #: build/C/man2/access.2:207 build/C/man7/environ.7:189 #: build/C/man2/fcntl.2:1239 build/C/man3/gethostid.3:122 #: build/C/man3/getlogin.3:161 build/C/man3/getopt.3:367 #: build/C/man2/mincore.2:144 build/C/man3/sleep.3:44 #: build/C/man3/sysconf.3:324 build/C/man2/sysctl.2:121 #: build/C/man2/truncate.2:241 build/C/man2/vfork.2:249 #, no-wrap msgid "BUGS" msgstr "バグ" #. This behavior appears to have been an implementation accident. #. type: Plain text #: build/C/man2/access.2:230 msgid "" "In kernel 2.4 (and earlier) there is some strangeness in the handling of " "B tests for superuser. If all categories of execute permission are " "disabled for a nondirectory file, then the only B() test that " "returns -1 is when I is specified as just B; if B or " "B is also specified in I, then B() returns 0 for such " "files. Early 2.6 kernels (up to and including 2.6.3) also behaved in the " "same way as kernel 2.4." msgstr "" "バージョン 2.4 (とそれ以前) のカーネルには、スーパーユーザでの B の" "チェックの扱いに奇妙な点がある。 ディレクトリ以外のファイルで (ユーザ、グルー" "プ、他人の) 全てのカテゴリについて 実行許可がない場合、 B() のチェッ" "クで -1 が返るのは I に B だけが指定されたときだけであり I " "に B や B が一緒に指定された場合には B() は 0 を返す。 " "(バージョン 2.6.3 以前の) 初期の 2.6 系のカーネルも 2.4 系のカーネルと同様の" "動作をする。" #. type: Plain text #: build/C/man2/access.2:241 msgid "" "In kernels before 2.6.20, B() ignored the effect of the " "B flag if it was used to B(2) the underlying file " "system. Since kernel 2.6.20, B() honors this flag." msgstr "" "2.6.20 より前のカーネルでは、 ファイルが存在するファイルシステムを B" "(2) する際に指定された B フラグの効果を、 B() は無視して" "いた。 カーネル 2.6.20 以降では、 B() はこのフラグを考慮するように" "なっている。" #. type: Plain text #: build/C/man2/access.2:252 msgid "" "B(2), B(2), B(2), B(2), B(2), " "B(2), B(2), B(3), B(7), " "B(7)" msgstr "" "B(2), B(2), B(2), B(2), B(2), " "B(2), B(2), B(3), B(7), " "B(7)" #. type: TH #: build/C/man2/alarm.2:30 #, no-wrap msgid "ALARM" msgstr "ALARM" #. type: TH #: build/C/man2/alarm.2:30 #, no-wrap msgid "2008-06-12" msgstr "2008-06-12" #. type: Plain text #: build/C/man2/alarm.2:33 msgid "alarm - set an alarm clock for delivery of a signal" msgstr "alarm - シグナル配送のためのアラーム・クロックを設定する" #. type: Plain text #: build/C/man2/alarm.2:38 #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text #: build/C/man2/alarm.2:46 msgid "" "B() arranges for a B signal to be delivered to the calling " "process in I seconds." msgstr "" "B() は B シグナルを I 秒後に呼び出したプロセスに配" "送するように手配する。" #. type: Plain text #: build/C/man2/alarm.2:52 msgid "If I is zero, no new B() is scheduled." msgstr "I がゼロならば、新たな B() は手配されない。" #. type: Plain text #: build/C/man2/alarm.2:56 msgid "In any event any previously set B() is canceled." msgstr "今までに設定されていた B() は中断される。" #. type: Plain text #: build/C/man2/alarm.2:61 msgid "" "B() returns the number of seconds remaining until any previously " "scheduled alarm was due to be delivered, or zero if there was no previously " "scheduled alarm." msgstr "" "B() は以前に予定されていたアラームの配送までの残り時間を返す。以前に " "アラームが予定されていなければゼロを返す。" #. type: Plain text #: build/C/man2/alarm.2:63 msgid "SVr4, POSIX.1-2001, 4.3BSD." msgstr "SVr4, POSIX.1-2001, 4.3BSD." #. type: Plain text #: build/C/man2/alarm.2:69 msgid "" "B() and B(2) share the same timer; calls to one will " "interfere with use of the other." msgstr "" "B() と B(2) は同じタイマーを共有している; 片方を呼び出す" "ことはもう一方の 使用に影響を与える。" #. type: Plain text #: build/C/man2/alarm.2:78 msgid "" "B(3) may be implemented using B; mixing calls to B" "() and B(3) is a bad idea." msgstr "" "B(3) は B を利用して実装されているかもしれない。 B" "() と B(3) を混ぜて使用してはならない。" #. type: Plain text #: build/C/man2/alarm.2:81 msgid "" "Scheduling delays can, as ever, cause the execution of the process to be " "delayed by an arbitrary amount of time." msgstr "" "スケジューリング(scheduling)の遅延により、プロセスの実行に不定量の 遅延が起き" "る可能性がある。" #. type: Plain text #: build/C/man2/alarm.2:90 msgid "" "B(2), B(2), B(2), B(2), B" "(2), B(2), B(3), B