83 lines
2.7 KiB
HTML
83 lines
2.7 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
|
|
<title>getgrgid_r_ts64()--Get Group Information Using Group ID</title>
|
|
<!-- Begin Header Records -->
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<!-- Change History: -->
|
|
<!-- file cleaned -->
|
|
<!-- GTGGIR64 SCR A converted by B2H R4.1 (346) (CMS) by V2CDIJAB at -->
|
|
<!-- RCHVMW2 on 18 Sep 2000 at 09:25:05 -->
|
|
<!-- This file has undergone html cleanup on 05/30/02 by JET -->
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
<body>
|
|
<!--End Header Records --><!-- Java sync-link -->
|
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript">
|
|
</script>
|
|
|
|
<a name="Top_Of_Page"></a>
|
|
|
|
<h2>getgrgid_r_ts64()--Get Group Information Using Group ID</h2>
|
|
|
|
<div class="box" style="width: 70%;">
|
|
<br>
|
|
Syntax<br>
|
|
|
|
|
|
<pre>
|
|
#include <sys/types.h>
|
|
#include <grp.h>
|
|
|
|
int getgrgid_r_ts64(
|
|
gid_t <em>gid</em>,
|
|
struct group <em>* __ptr64 grp</em>,
|
|
char <em>* __prt64 buffer</em>,
|
|
size_t <em>bufsize</em>,
|
|
struct group <em>* __ptr64 * __ptr64 result</em>);
|
|
</pre>
|
|
|
|
Service Program Name: QSYPAPI64<br>
|
|
<!-- iddvc RMBR -->
|
|
<br>
|
|
Default Public Authority: *USE<br>
|
|
<!-- iddvc RMBR -->
|
|
<br>
|
|
Threadsafe: Yes<br>
|
|
<!-- iddvc RMBR -->
|
|
<br>
|
|
</div>
|
|
|
|
<p>The <strong>getgrgid_r_ts64()</strong> function updates the group structure
|
|
pointed to by <em>grp</em> and stores a pointer to that structure in the
|
|
location pointed to by <em>result</em>. The structure contains an entry from
|
|
the user database with a matching <em>GID</em>. <strong>
|
|
getgrgid_r_ts64()</strong> differs from <strong>getgrgid_r()</strong> in that
|
|
it accepts 8-byte teraspace pointers.</p>
|
|
|
|
<p>For a discussion of the parameters, authorities required, return values,
|
|
related information, usage notes, and an example for the <strong>
|
|
getgrgid_r()</strong> API, see <a href="gtgrgidr.htm">getgrgid_r()</a>--Get
|
|
Group Information Using Group ID.</p>
|
|
|
|
<hr>
|
|
API introduced: V5R1
|
|
|
|
<hr>
|
|
<center>
|
|
<table cellpadding="2" cellspacing="2">
|
|
<tr align="center">
|
|
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
|
|
"unix.htm">UNIX-Type APIs</a> | <a href="aplist.htm">APIs by category</a></td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
</body>
|
|
</html>
|
|
|