getgid() - Unix、Linux 系統呼叫 - 技術教學
Tutorials Point


  Unix 簡介
  Unix Shell 程式設計
  高階 Unix
  Unix 有用參考
  Unix 有用資源
  精選閱讀

版權 © 2014 tutorialspoint 所有



  主頁     參考     討論論壇     關於 TP  

getgid() - Unix、Linux 系統呼叫


previous next AddThis Social Bookmark Button

廣告

名稱

getgid、getegid - 獲取組標識

概述

#include <unistd.h>
#include <sys/types.h>

gid_t getgid(void);
gid_t getegid(void);

說明

getgid() 返回當前程序的真實組 ID。

getegid() 返回當前程序的有效組 ID。

錯誤

這些函式總是成功的。

符合

POSIX.1-2001, 4.3BSD

另請參閱



previous next Printer Friendly

廣告


  

廣告



© . All rights reserved.