2008 May 30 Friday (五月 三十日 金曜日)
来源:互联网 发布:苹果手机界面设计软件 编辑:程序博客网 时间:2024/05/01 16:10
#include <unistd.h> pid_t setsid(void); setsid() creates a new session if the calling process is not a process group leader. The calling process is theleader of the new session, the process group leader of the new process group, and has no controlling tty. The processgroup ID and session ID of the calling process are set to the PID of the calling process. The calling process will bethe only process in this new process group and in this new session. #include <unistd.h> pid_t tcgetpgrp(int fd); int tcsetpgrp(int fd, pid_t pgrp); The function tcgetpgrp() returns the process group ID of the foreground process group on the terminal associated tofd, which must be the controlling terminal of the calling process. The function tcsetpgrp() makes the process group with process group ID pgrp the foreground process group on the terminalassociated to fd, which must be the controlling terminal of the calling process, and still be associated with its session.Moreover, pgrp must be a (nonempty) process group belonging to the same session as the calling process. If tcsetpgrp() is called by a member of a background process group in its session, and the calling process is not blockingor ignoring SIGTTOU, a SIGTTOU signal is sent to all members of this background process group.
- 2008 May 30 Friday (五月 三十日 金曜日)
- May 18th Friday (五月 十八日 金曜日)
- May 25th Friday (五月 二十五日 金曜日)
- May 15th Friday (五月 十五日 金曜日)
- May 30th Wednesday (五月 三十日 水曜日)
- 2008 May 9th Friday (五月 九日 金曜日)
- 2008 May 16th Friday (五月 十六日 金曜日)
- 2008 May 23th Friday (五月 二十三日 金曜日)
- May 8th Friday (五月 八日 金曜日)
- May 11th Friday (五月 十一日 木曜日)
- May 22th Friday (五月 二十二日 金曜日)
- May 29th Friday (五月 二十九日 金曜日)
- 2008 May 4th Sunday (五月 四日 日曜日)
- 2008 May 5th Monday (五月 五日 月曜日)
- 2008 May 14th Wednesday (五月 十四日 水曜日)
- 2008 May 15th Thursday (五月 十五日 木曜日)
- 2008 May 28 Wednesday (五月 二十八日 水曜日)
- May 31th Thursday (五月 三十一日 木曜日)
- 2008 May 28 Wednesday (五月 二十八日 水曜日)
- 关于string是值类型还是引用类型- -
- 2008 May 29 Thrusday (五月 二十九日 木曜日)
- 思念
- (转)关于ASP.NET控件DropDownList控件的问题
- 2008 May 30 Friday (五月 三十日 金曜日)
- System Repair Engineer v2.6 Build 990 RC1
- (转)vb.net入门——设置值的控件:RadioButton的使用
- Ubuntu安装eclipse小结
- (转)Panel Web 服务器控件概述
- (转)Table Web 服务器控件概述
- 记事
- (转)TableRow 控件与 TableCell 控件和 Table 控件一起使用,来创建表格中的行
- 2008 June 28th Saturday