⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 misc-std.sgml

📁 cygwin, 著名的在win32下模拟unix操作系统的东东
💻 SGML
字号:
<sect1 id="std-misc"><title>Compatibility with Miscellaneous Other Standards</title><para>The following functions are compatible with miscellaneous otherstandards:</para><sect2><title>Networking</title><para>(Standardized by POSIX 1.g, which is probably still in draft?)</para><para>accept, bind, connect, getdomainname, gethostbyaddr,gethostbyname, getpeername, getprotobyname, getprotobynumber,getservbyname, getservbyport, getsockname, getsockopt, herror, htonl,htons, inet_addr, inet_makeaddr, inet_netof, inet_ntoa, listen, ntohl,ntohs, rcmd, recv, recvfrom, rexec, rresvport, send, sendto,setsockopt, shutdown, socket, socketpair</para><para>Of these networking calls, rexec, rcmd and rresvport areimplemented in MS IP stack but may not be implemented in othervendors' stacks. </para></sect2><sect2><title>Other</title><para>chroot, closelog, cwait, dlclose, dlerror, dlfork, dlopen, dlsym,endgrent, ffs, fstatfs, ftime, get_osfhandle, getdtablesize, getgrent,gethostname, getitimer, getmntent, getpagesize, getpgid, getpwent,gettimeofday, grantpt, initgroups, ioctl, killpg, login, logout,lstat, mknod, memccpy, nice, openlog, pclose, popen, ptsname, putenv,random, readv, realpath, regfree, rexec, select, setegid setenv,seterrno, seteuid, setitimer, setmntent, setmode, setpassent, setpgrp,setpwent, settimeofday, sexecl, sexecle, sexeclp, sexeclpe, sexeclpe,sexecp, sexecv, sexecve, sexecvpe, sigpause, spawnl, spawnle, spawnlp,spawnlpe, spawnv, spawnve, spawnvp, spawnvpe, srandom, statfs,strsignal, strtosigno, swab, syslog, timezone, truncate, ttyslot,unlockpt, unsetenv, usleep, utimes, vfork, vhangup, wait3, wait4,wcscmp, wcslen, wprintf, writev</para></sect2><sect2><title>Implementation Notes</title><para> <function>initgroups</function> does nothing</para><para> <function>chroot</function>, <function>mknod</function>,<function>settimeofday</function>, and <function>vhangup</function>always return -1 and sets errno to ENOSYS.</para><para> <function>nice</function> allows Cygwin programs to alter theircurrent runtime priority through the use of its incr argument.  Cygwinprocesses can be set to IDLE_PRIORITY_CLASS, NORMAL_PRIORITY_CLASS,HIGH_PRIORITY_CLASS, or REALTIME_PRIORITY_CLASS with the<function>nice</function> call.  NORMAL_PRIORITY_CLASS is thedefault.  If you pass a positive number to nice(), then the prioritylevel will decrease by one (within the above list of priorities).  Anegative number would make it increase by one.  It is not possible tochange it by more than one at a time without making repeated calls.An increment above REALTIME_PRIORITY_CLASS results in the processstaying at that priority.  Likewise, a decrement toIDLE_PRIORITY_CLASS has it stay at that priority.  Note that in theWin32 API, there are 32 priorities.  So currently we only give accessto four of these through <function>nice</function>.</para><para> <function>seteuid</function> and <function>setegid</function>always return 0 and set errno toENOSYS.</para><para><function>vfork</function> just calls<function>fork</function></para></sect2></sect1>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -