repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
alsa.audio: limit the supported frequencies to common set
[AROS.git]
/
workbench
/
network
/
stacks
/
AROSTCP
/
netlib
/
getpid.c
blob
0657c3a9fa59deaff1e26e1293d868b72edd2f15
1
/* $Id$
2
*
3
* getpid() - stub for the FindTask(NULL)
4
*
5
* Copyright © 1994 AmiTCP/IP Group,
6
* Network Solutions Development Inc.
7
* All rights reserved.
8
* Copyright © 2005 Pavel Fedin
9
*/
10
11
#include <sys/types.h>
12
#include <proto/exec.h>
13
14
pid_t
15
getpid
(
void
)
16
{
17
return
(
pid_t
)
FindTask
(
NULL
);
18
}