X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=release%2Fman3%2Ffutimes.3;h=fce0cd00f616d5103e914cf6f222007f056c5309;hb=e869ba38629d24502b2599fad331e46760c356de;hp=0972508efba264684173248b60694b0f24e90f40;hpb=05edc1c11c5b516ab7b254b23c5927d6bd36ce34;p=linuxjm%2FLDP_man-pages.git diff --git a/release/man3/futimes.3 b/release/man3/futimes.3 index 0972508e..fce0cd00 100644 --- a/release/man3/futimes.3 +++ b/release/man3/futimes.3 @@ -1,7 +1,6 @@ -.\" Hey Emacs! This file is -*- nroff -*- source. -.\" .\" Copyright (c) 2006, 2008, Michael Kerrisk .\" +.\" %%%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. @@ -21,13 +20,20 @@ .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. +.\" %%%LICENSE_END .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* -.TH FUTIMES 3 2008\-04\-07 Linux "Linux Programmer's Manual" +.\" +.\" Japanese Version Copyright (c) 2006 Akihiro MOTOKI all rights reserved. +.\" Translated 2006-07-31, Akihiro MOTOKI +.\" Updated 2008-08-07, Akihiro MOTOKI, LDP v3.05 +.\" Updated 2013-04-03, Akihiro MOTOKI +.\" +.TH FUTIMES 3 2013\-10\-29 Linux "Linux Programmer's Manual" .SH 名前 futimes, lutimes \- ファイルのタイムスタンプを変更する .SH 書式 @@ -48,8 +54,8 @@ glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7) 参 \fBfutimes\fP() は \fButimes\fP(2) と同じ方法でファイルのアクセス時刻と修正時刻を変更する。 違いは、タイムスタンプを変更するファイルを、 パス名ではなく、ファイルディスクリプタ \fIfd\fP を用いて指定する点である。 -\fBlutimes\fP() は \fButimes\fP(2) と同じ方法でファイルのアクセス時刻と修正時刻を変更する。 違いは、 \fIfilename\fP -がシンボリック・リンクを参照している場合に、リンクの展開を行わず、 代わりにシンボリック・リンクのタイムスタンプを変更する。 +\fBlutimes\fP() は \fButimes\fP(2) と同じ方法でファイルのアクセス時刻と修正時刻を変更する。違いは、 \fIfilename\fP +がシンボリック・リンクを参照している場合に、リンクの展開を行わず、代わりにシンボリック・リンクのタイムスタンプを変更する点である。 .SH 返り値 成功した場合は 0 が返される。エラーの場合は \-1 が返され、 \fIerrno\fP が適切に設定される。 .SH エラー @@ -60,15 +66,23 @@ glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7) 参 .TP \fBENOSYS\fP \fI/proc\fP ファイルシステムにアクセスできなかった。 +.PP +\fBlutimes\fP() では以下のエラーが追加になっている: +.TP +\fBENOSYS\fP +カーネルがこの関数をサポートしていない。 Linux 2.6.22 以降が必要である。 .SH バージョン \fBfutimes\fP() は glibc 2.3 以降で利用可能である。 \fBlutimes\fP() は glibc 2.6 以降で利用可能であり、 \fButimensat\fP(2) システムコールを使って実装されている。 \fButimensat\fP(2) はカーネル 2.6.22 以降でサポートされている。 +.SH 属性 +.SS "マルチスレッディング (pthreads(7) 参照)" +関数 \fBfutimes\fP() と \fBlutimes\fP() はスレッドセーフである。 .SH 準拠 これらの関数はどの標準でも規定されていない。 Linux 以外では、これらは BSD でのみ利用可能である。 .SH 関連項目 \fButime\fP(2), \fButimensat\fP(2), \fBsymlink\fP(7) .SH この文書について -この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.40 の一部 +この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.64 の一部 である。プロジェクトの説明とバグ報告に関する情報は http://www.kernel.org/doc/man\-pages/ に書かれている。