Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
SETSID.2
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:
OS Develop
Development Platform:
WINDOWS
- .TH SETSID 2
- .SH NAME
- setsid, getpgrp - create process group, get process group id
- .SH SYNOPSIS
- .ft B
- .nf
- #include <sys/types.h>
- #include <unistd.h>
- pid_t setsid(void)
- pid_t getpgrp(void)
- .fi
- .ft P
- .SH DESCRIPTION
- .B Setsid()
- creates a new session if the calling process is not already a session
- leader. The calling process becomes the session leader of a new process
- group and the process group ID of this new process group will be equal to
- the process ID of the new session leader. The process group ID is inherited
- on a
- .BR fork() .
- .PP
- .B Getpgrp()
- returns the process group ID of the calling process.
- .SH "SEE ALSO"
- .BR kill (2),
- .BR termios (3),
- .BR tty (4).
- .SH DIAGNOSTICS
- .B Setsid()
- returns the new process group ID on success, or -1 with
- .B errno
- set to
- .B EPERM
- if the process is already a session leader.
- .SH AUTHOR
- Kees J. Bot (kjb@cs.vu.nl)