<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<!-- Spidersoft WebZIP Banner Ad Insert -->
<!-- For removal instructions see: http://www.spidersoft.com/webzip/help/noads.asp -->
<SCRIPT FOR=window EVENT=onload LANGUAGE="JScript">
if (navigator.onLine){
initAd();
}
</SCRIPT>
<script language="JScript">
<!--
function initAd() {
document.all.AdLayer.style.posTop = -200;
document.all.AdLayer.style.visibility = 'visible'
MoveLayer('AdLayer');
}
function MoveLayer(layerName) {
var x = 10;
var y = 10;
var diff = (document.body.scrollTop + y - document.all.AdLayer.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posLeft = x");
setTimeout("MoveLayer('AdLayer');", 60);
}
if (navigator.onLine){
document.write("<div bgcolor=#000000 style='height=70px;'></div>");
document.write("<div id=AdLayer style='position:absolute; width:100%; height:80px; z-index:20; visibility:hidden;'>");
document.write("<IFRAME SRC='http://www.spidersoft.com/ads/bwz468_60.asp' width=100% height=60 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></IFRAME>");
document.write("</div>");
}
//-->
</script>
<!-- /Spidersoft WebZIP Banner Ad Insert -->
<a href="../../../../man.chinaunix.html"><< Back to man.ChinaUnix.net </a><br><br>
<table width="100%">
<tr>
<td valign="top" width="80">
<div align="right"><br>
<font face='宋体' size='2'><a name=linuxc90></a></font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> <br>
</font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> <br>
endgrent(关闭组文件) </font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 相关函数 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> getgrent,setgrent<br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 表头文件 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> #include<grp.h><br>
#include<sys/types.h><br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 定义函数 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> void endgrent(void);<br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 函数说明 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> endgrent()用来关闭由getgrent()所打开的密码文件。<br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 返回值 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> <br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 附加说明 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> <br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 范例 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> 请参考getgrent()与setgrent()。<br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><br>
<font face='宋体' size='2'><a name=linuxc91></a></font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> <br>
</font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> <br>
endpwent(关闭密码文件) </font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 相关函数 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> getpwent,setpwent<br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 表头文件 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> #include<pwd.h><br>
#include<sys/types.h><br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 定义函数 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> void endpwent(void);<br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 函数说明 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> endpwent()用来关闭由getpwent()所打开的密码文件。<br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 返回值 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> <br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 附加说明 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> <br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 范例 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> 请参考getpwent()与setpwent()。<br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><br>
<font face='宋体' size='2'><a name=linuxc92></a></font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> <br>
</font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> <br>
endutent(关闭utmp 文件) </font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 相关函数 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> getutent,setutent<br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 表头文件 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> #include<utmp.h><br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 定义函数 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> void endutent(void);<br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 函数说明 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> endutent()用来关闭由getutent所打开的utmp文件。<br>
</font> </div>
</td>
</tr>
<tr>
<td valign="top" width="80">
<div align="right"><font face='宋体' size='2'> 返回值 </font> </div>
</td>
<td>
<div align="left"><font face='宋体' size='2'> <br>
</font> </div>
</td>
- 1
- 2
前往页