diff options
author | David Leonard <d@cvs.openbsd.org> | 1998-11-09 03:13:22 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1998-11-09 03:13:22 +0000 |
commit | ff47464de5e68e9c49fe312c953f54b2e90f546c (patch) | |
tree | 4ec0e7f13d619e1b5bf6abfd7125a4ec17569568 /lib/libpthread/uthread/uthread_vfork.c | |
parent | 1b2b2c2386c6cc5ebffc769b8a39b80d47e4e0d0 (diff) |
sync with FreeBSD (rwlock, gc thread, man pages)
add (broken) mips md stuff
fix some const warnings
add sigaltstack() stub
another hash at getting shlib auto-init to work (mips/elf and i386/a.out)
Diffstat (limited to 'lib/libpthread/uthread/uthread_vfork.c')
-rw-r--r-- | lib/libpthread/uthread/uthread_vfork.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libpthread/uthread/uthread_vfork.c b/lib/libpthread/uthread/uthread_vfork.c new file mode 100644 index 00000000000..a3b0ee5bb06 --- /dev/null +++ b/lib/libpthread/uthread/uthread_vfork.c @@ -0,0 +1,12 @@ +/* + * $OpenBSD: uthread_vfork.c,v 1.1 1998/11/09 03:13:21 d Exp $ + */ +#include <unistd.h> +#ifdef _THREAD_SAFE + +int +vfork(void) +{ + return (fork()); +} +#endif /* _THREAD_SAFE */ |