Unix-system-calls-getresuid
提供:Dev Guides
[top]#
|http://www.google.com/[Google] | a|
Web | This Site |
選択した読書 Copyright©2014 by finddevguides |
[cols=",,,,,,,",] |
| | Home | | References | | Discussion Forums | | About TP
[width="100%",cols="100%",] |
a| == getresuid()-Unix、Linuxシステムコール
[[File:]] image :http://www.finddevguides.com/images/next.gif [next] image:http://www.finddevguides.com/add- this.gif [AddThisソーシャルブックマークボタン]
広告
NAME
getresuid、getresgid-実際の、効果的で保存されたユーザーまたはグループIDを取得します
概要
- #define _GNU_SOURCE * *#include <unistd.h> *
- int getresuid(uid_t * ruid 、uid_t *euid 、uid_t *suid ); * * int getresgid(gid_t * rgid 、gid_t * egid 、gid_t * sgid ); *
説明
返り値
成功すると、ゼロが返されます。 エラーの場合、-1が返され、_errno_が適切に設定されます。
エラー
Tag | Description |
---|---|
EFAULT | One of the arguments specified an address outside the calling program’s address space. |
準拠
これらの呼び出しは非標準です。また、HP-UXおよび一部のBSDにも表示されます。
プロトタイプは、_GNU_SOURCEが定義されているバージョン2.3.2以降のglibcによって提供されます。
関連項目
[[File:]] image :http://www.finddevguides.com/images/next.gif [next] [[File:]]
広告
|
[cols="^",] |
|Advertisements