OSDN Git Service

(split) LDP: Update release pages
[linuxjm/LDP_man-pages.git] / release / man2 / semctl.2
index 5d3e353..e8282b8 100644 (file)
@@ -78,10 +78,10 @@ union semun {
 .in +4n
 
 struct semid_ds {
-    struct ipc_perm sem_perm;  /* Ownership and permissions */
-    time_t          sem_otime; /* Last semop time */
-    time_t          sem_ctime; /* Last change time */
-    unsigned long   sem_nsems; /* No. of semaphores in set */
+    struct ipc_perm sem_perm;  /* 所有権と許可 */
+    time_t          sem_otime; /* 最後の semop の時刻 */
+    time_t          sem_ctime; /* 最後に変更が行われた時刻 */
+    unsigned long   sem_nsems; /* 集合内のセマフォの数 */
 };
 .in
 .fi
@@ -249,10 +249,9 @@ struct  seminfo {
 .\" SVr4 documents more error conditions EINVAL and EOVERFLOW.
 SVr4, POSIX.1\-2001.
 
-POSIX.1\-2001 specifies the \fIsem_nsems\fP field of the \fIsemid_ds\fP structure
-as having the type \fIunsigned\ short\fP, and the field is so defined on most
-other systems.  It was also so defined on Linux 2.2 and earlier, but, since
-Linux 2.4, the field has the type \fIunsigned\ long\fP.
+POSIX.1\-2001 では \fIsemid_ds\fP 構造体の \fIsem_nsems\fP フィールドは \fIunsigned\ short\fP
+型を持つと規定されており、 他のほとんどのシステムでこのフィールドは \fIunsigned\ short\fP 型になっている。 Linux 2.4
+以前ではそうなっていたが、 Linux 2.4 以降ではこのフィールドは \fIunsigned\ long\fP 型である。
 .SH 注意
 .\" Like Linux, the FreeBSD man pages still document
 .\" the inclusion of these header files.