OSDN Git Service

(split) LDP: Release pages for LDP v3.39.
[linuxjm/LDP_man-pages.git] / release / man2 / stime.2
index 24d1109..fff88cf 100644 (file)
 .\" Modified 2001-03-16 by Andries Brouwer <aeb@cwi.nl>
 .\" Modified 2004-05-27 by Michael Kerrisk <mtk.manpages@gmail.com>
 .\"
-.\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
-.\"         all rights reserved.
-.\" Translated 1997-03-03, HANATAKA Shinya <hanataka@abyss.rim.or.jp>
-.\" Updated 2001-04-10, Kentaro Shirakata <argrath@ub32.org>
-.\" Updated 2003-09-08, Kentaro Shirakata <argrath@ub32.org>
-.\" Updated 2005-02-24, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\"*******************************************************************
 .\"
-.\"WORD:       GMT                     グリニッジ平均時(GMT)
-.\"WORD:       superuser               スーパーユーザー
+.\" This file was generated with po4a. Translate the source file.
 .\"
-.TH STIME 2 2007-07-26 "Linux" "Linux Programmer's Manual"
+.\"*******************************************************************
+.TH STIME 2 2010\-02\-25 Linux "Linux Programmer's Manual"
 .SH 名前
 stime \- 時間を設定する
 .SH 書式
-.B #include <time.h>
+\fB#include <time.h>\fP
 .sp
-.BI "int stime(time_t *" t );
+\fBint stime(time_t *\fP\fIt\fP\fB);\fP
 .sp
 .in -4n
-glibc 向けの機能検査マクロの要件
-.RB ( feature_test_macros (7)
-参照):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
 .in
 .sp
-.BR stime ():
-_SVID_SOURCE
+\fBstime\fP(): _SVID_SOURCE
 .SH 説明
-.BR stime ()
-はシステムの時刻と日付を設定する。
-\fIt\fP が指す時刻は、時刻紀元 (Epoch; 1970-01-01 00:00:00 +0000 (UTC))
-からの秒数で指定する。
-スーパーユーザーのみが
-.BR stime ()
-を実行できる。
-
-(訳注: 正確にはグリニッジ平均時(GMT)ではなく協定世界時(UTC)が使用される)
+\fBstime\fP()  はシステムの時刻と日付を設定する。 \fIt\fP が指す時刻は、時刻紀元 (Epoch; 1970\-01\-01 00:00:00
++0000 (UTC))  からの秒数で指定する。 スーパーユーザーのみが \fBstime\fP()  を実行できる。 (訳注:
+正確にはグリニッジ平均時(GMT)ではなく協定世界時(UTC)が使用される)
 .SH 返り値
-成功した場合はゼロが返される。エラーの場合は \-1 が返され、
-.I errno
-が適切に設定される。
+成功した場合は 0 が返される。エラーの場合は \-1 が返され、 \fIerrno\fP が適切に設定される。
 .SH エラー
-.TP
-.B EFAULT
+.TP 
+\fBEFAULT\fP
 ユーザー空間から情報を得るときにエラーが発生した。
-.TP
-.B EPERM
-呼び出し元のプロセスが十分な権限を持っていない。
-Linux では
-.B CAP_SYS_TIME
-権限が必要である。
+.TP 
+\fBEPERM\fP
+呼び出し元のプロセスが十分な権限を持っていない。 Linux では \fBCAP_SYS_TIME\fP 権限が必要である。
 .SH 準拠
 SVr4.
 .SH 関連項目
-.BR date (1),
-.BR settimeofday (2),
-.BR capabilities (7)
+\fBdate\fP(1), \fBsettimeofday\fP(2), \fBcapabilities\fP(7)