403cea859fa2f1b509d20866778e0c19a06fbda7
[kopensolaris-gnu/glibc.git] / linuxthreads / libpthread.map
1 GLIBC_2.0 {
2   global:
3     # Hidden entry point (through macros).
4     _pthread_cleanup_pop; _pthread_cleanup_pop_restore; _pthread_cleanup_push;
5     _pthread_cleanup_push_defer;
6
7     # Overwritten libc functions.
8     close; fcntl; fork; fsync; lseek; msync; nanosleep; open; pause; raise;
9     read; system; tcdrain; wait; waitpid; write;
10
11     # POSIX.1c extensions to libc.
12     flockfile; funlockfile; ftrylockfile;
13
14     # Non-standard POSIX1.x functions.
15     pthread_kill_other_threads_np; pthread_mutexattr_getkind_np;
16     pthread_mutexattr_setkind_np;
17
18     # Real POSIX.1c functions.
19     pthread_atfork; pthread_attr_destroy; pthread_attr_getdetachstate;
20     pthread_attr_getinheritsched; pthread_attr_getschedparam;
21     pthread_attr_getschedpolicy; pthread_attr_getscope; pthread_attr_init;
22     pthread_attr_setdetachstate; pthread_attr_setinheritsched;
23     pthread_attr_setschedparam; pthread_attr_setschedpolicy;
24     pthread_attr_setscope; pthread_cancel; pthread_cond_broadcast;
25     pthread_cond_destroy; pthread_cond_init; pthread_cond_signal;
26     pthread_cond_timedwait; pthread_cond_wait; pthread_condattr_destroy;
27     pthread_condattr_init; pthread_create; pthread_detach; pthread_equal;
28     pthread_exit; pthread_getschedparam; pthread_getspecific; pthread_join;
29     pthread_key_create; pthread_key_delete; pthread_kill;
30     pthread_mutex_destroy; pthread_mutex_init; pthread_mutex_lock;
31     pthread_mutex_trylock; pthread_mutex_unlock; pthread_mutexattr_destroy;
32     pthread_mutexattr_init; pthread_once; pthread_self; pthread_setcancelstate;
33     pthread_setcanceltype; pthread_setschedparam; pthread_setspecific;
34     pthread_sigmask; pthread_testcancel;
35
36     sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
37     sigwait;
38
39     # Protected names for functions used in other shared objects.
40     __pthread_getspecific; __pthread_initialize; __pthread_mutex_destroy;
41     __pthread_mutex_init; __pthread_mutex_lock; __pthread_mutex_trylock;
42     __pthread_mutex_unlock; __pthread_mutexattr_destroy;
43     __pthread_mutexattr_init; __pthread_mutexattr_setkind_np;
44     __pthread_setspecific;
45
46     # The error functions.
47     __errno_location; __h_errno_location;
48
49   local:
50     *;
51 };
52
53
54 GLIBC_2.1 {
55   global:
56     # Functions with changed interface.
57     pthread_attr_init; pthread_create;
58
59     # Unix98 extensions.
60     pthread_rwlock_init; pthread_rwlock_destroy; pthread_rwlock_rdlock;
61     pthread_rwlock_tryrdlock; pthread_rwlock_wrlock; pthread_rwlock_trywrlock;
62     pthread_rwlock_unlock; pthread_rwlockattr_init; pthread_rwlockattr_destroy;
63     pthread_rwlockattr_getpshared; pthread_rwlockattr_setpshared;
64     pthread_rwlockattr_getkind_np; pthread_rwlockattr_setkind_np;
65
66     pthread_attr_getguardsize; pthread_attr_setguardsize;
67     pthread_attr_getstackaddr; pthread_attr_setstackaddr;
68     pthread_attr_getstacksize; pthread_attr_setstacksize;
69
70     pthread_getconcurrency; pthread_setconcurrency;
71 } GLIBC_2.0;