1 .\" Copyright (C) 1996 Andries Brouwer (aeb@cwi.nl)
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" The GNU General Public License's references to "object code"
9 .\" and "executables" are to be interpreted as the output of any
10 .\" document formatting or typesetting system, including
11 .\" intermediate and printed output.
13 .\" This manual is distributed in the hope that it will be useful,
14 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
15 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 .\" GNU General Public License for more details.
18 .\" You should have received a copy of the GNU General Public
19 .\" License along with this manual; if not, write to the Free
20 .\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
22 .\" Translated into german by Martin Schulze (joey@finlandia.infodrom.north.de)
24 .TH GETSID 2 "28. Juni 1996" "Linux 1.3.85" "Systemaufrufe"
26 getsid \- liest die Session-ID aus
28 .B #include <unistd.h>
30 .B pid_t getsid(void);
33 gibt die Session-ID des aufrufenden Prozesses zurück.
35 liefert die Session-ID des Prozesses mit der der Prozess-ID
39 Bei einem Fehler wird \-1 zurückgegeben. Der einzige Fehler, der
42 wenn kein Prozess mit der Prozess-ID
46 Dieser Aufruf ist Linux-spezifisch.