引き数のどれかが \-1 の場合はその値は変更されずに残される。
-Regardless of what changes are made to the real UID, effective UID, and
-saved set\-user\-ID, the filesystem UID is always set to the same value as the
-(possibly new) effective UID.
+実 UID、実効 UID、保存 set\-user\-ID にどんな変更が行われたかに関わらず、 ファイルシステム UID は常に実効 UID
+(可能であれば変更後の新しい実効 UID) と同じ値に設定される。
-Completely analogously, \fBsetresgid\fP() sets the real GID, effective GID,
-and saved set\-group\-ID of the calling process (and always modifies the
-filesystem GID to be the same as the effective GID), with the same
-restrictions for unprivileged processes.
+全く同じように、 \fBsetresgid\fP() は呼び出し元のプロセスの実 GID、実効 GID、保存 set\-group\-ID を設定する
+(さらにファイルシステム GID を実効 GID と同じ値に修正する)。 非特権プロセスは同様の制限を受ける。
.SH 返り値
成功した場合は 0 が返される。エラーの場合は \-1 が返され、 \fIerrno\fP が適切に設定される。
.SH エラー