tools/adflib: build only host variant which is used by Sam440 target
[AROS.git] / workbench / network / stacks / AROSTCP / netlib / getpid.c
blob0657c3a9fa59deaff1e26e1293d868b72edd2f15
1 /* $Id$
3 * getpid() - stub for the FindTask(NULL)
5 * Copyright © 1994 AmiTCP/IP Group,
6 * Network Solutions Development Inc.
7 * All rights reserved.
8 * Copyright © 2005 Pavel Fedin
9 */
11 #include <sys/types.h>
12 #include <proto/exec.h>
14 pid_t
15 getpid(void)
17 return (pid_t)FindTask(NULL);