2 Copyright © 1995-2002, The AROS Development Team. All rights reserved.
5 POSIX function getpid().
8 #include <proto/exec.h>
10 /*****************************************************************************
13 #include <sys/types.h>
22 Returns the process ID of the calling process
25 The process ID of the calling process.
37 ******************************************************************************/
39 return (pid_t
)FindTask(NULL
);