Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bywater!arnor!arnor!marc From: marc@arnor.uucp Newsgroups: comp.unix.aix Subject: Re: getpid() kernel service Message-ID: Date: 9 Oct 90 12:09:50 GMT References: <1011@nlsun1.oracle.nl> Sender: news@arnor.uucp (NNTP News Poster) Organization: IBM T.J. Watson Research Center, Hawthorne, New York Lines: 8 In-Reply-To: hbergh@oracle.nl's message of 8 Oct 90 15:53:52 GMT getpid is a unix system call. as such it is defined in /lib/syscalls.exp, rather than in kernex.exp. All of the entries in syscalls.exp are also available to kernel extensions. (Take some care in this. Those syscalls which read/write user data, such as read, will fail if passed a supervisor buffer. So you must think about the semantics of a system call you issue from a kernel extension. This is not a problem for getpid).