OSDN Git Service

(split) LDP: Update release pages
[linuxjm/LDP_man-pages.git] / release / man2 / unlink.2
index 615b851..262c27e 100644 (file)
@@ -55,9 +55,9 @@ unlink \- 名前を削除し、場合によってはそれが参照している
 .sp
 \fBint unlink(const char *\fP\fIpathname\fP\fB);\fP
 .SH 説明
-\fBunlink\fP()  deletes a name from the filesystem.  If that name was the last
-link to a file and no processes have the file open the file is deleted and
-the space it was using is made available for reuse.
+\fBunlink\fP()  はファイルシステム上の名前を削除する。 もしその名前がファイルへの最後のリンク (link) であり、
+どのプロセスもそのファイルをオープン (open) していなければ、 ファイルは削除される。
+ファイルが使用していたディスク上の領域は再利用が可能になる。
 
 もし削除する名前がファイルへの最後のリンクだが、どれかのプロセスが そのファイルをまだオープンしている場合は、
 そのファイルを参照している最後のファイルディスクリプタ (file descriptor)  がクローズ (close)
@@ -113,7 +113,7 @@ I/O エラーが発生した。
 \fBEISDIR\fP を返す。)
 .TP 
 \fBEPERM\fP (Linux のみ)
-The filesystem does not allow unlinking of files.
+ファイルシステムがファイルに対する unlink 操作を許していない。
 .TP 
 \fBEPERM\fP または \fBEACCES\fP
 \fIpathname\fP を含んでいるディレクトリにスティッキービット (sticky\-bit)  (\fBS_ISVTX\fP)
@@ -121,7 +121,7 @@ The filesystem does not allow unlinking of files.
 かつプロセスに特権がない (Linux では \fBCAP_FOWNER\fP ケーパビリティ (capability) がない)。
 .TP 
 \fBEROFS\fP
-\fIpathname\fP refers to a file on a read\-only filesystem.
+\fIpathname\fP が読み込み専用のファイルシステムのファイルを参照している。
 .SH 準拠
 .\" SVr4 documents additional error
 .\" conditions EINTR, EMULTIHOP, ETXTBSY, ENOLINK.