function::sid.3stap

Langue: en

Version: September 2010 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

function::sid - Returns the session ID of the current process.

SYNOPSIS

     sid:long()
 

ARGUMENTS

None

GENERAL SYNTAX

sid:long

DESCRIPTION

The session ID of a process is the process group ID of the session leader. Session ID is stored in the signal_struct since Kernel 2.6.0.