summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibPthread/pthread.h
diff options
context:
space:
mode:
authorAnotherTest <ali.mpfard@gmail.com>2021-02-13 14:38:54 +0330
committerAndreas Kling <kling@serenityos.org>2021-02-15 17:32:56 +0100
commit2e50c232f7802c668b8d49d92b990a2d19ae598b (patch)
tree3a9d2962395c37838d343cd708b874e55d67125c /Userland/Libraries/LibPthread/pthread.h
parent26a8a84ded000ea42ecd0ae236cc5c452fd67df7 (diff)
downloadserenity-2e50c232f7802c668b8d49d92b990a2d19ae598b.zip
LibPthread: Stub out `pthread_atfork()`
Diffstat (limited to 'Userland/Libraries/LibPthread/pthread.h')
-rw-r--r--Userland/Libraries/LibPthread/pthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibPthread/pthread.h b/Userland/Libraries/LibPthread/pthread.h
index 5994ae1009..e9fe3389d8 100644
--- a/Userland/Libraries/LibPthread/pthread.h
+++ b/Userland/Libraries/LibPthread/pthread.h
@@ -145,4 +145,6 @@ int pthread_rwlockattr_getpshared(const pthread_rwlockattr_t* __restrict, int* _
int pthread_rwlockattr_init(pthread_rwlockattr_t*);
int pthread_rwlockattr_setpshared(pthread_rwlockattr_t*, int);
+int pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void));
+
__END_DECLS