Version definitions.
[kopensolaris-gnu/glibc.git] / linuxthreads / Versions
1 libc {
2   GLIBC_2.0 {
3     pthread_attr_destroy; pthread_attr_getdetachstate;
4     pthread_attr_getinheritsched; pthread_attr_getschedparam;
5     pthread_attr_getschedpolicy; pthread_attr_getscope; pthread_attr_init;
6     pthread_attr_setdetachstate; pthread_attr_setinheritsched;
7     pthread_attr_setschedparam; pthread_attr_setschedpolicy;
8     pthread_attr_setscope; pthread_cond_broadcast; pthread_cond_destroy;
9     pthread_cond_init; pthread_cond_signal; pthread_cond_wait;
10     pthread_condattr_destroy; pthread_condattr_init; pthread_equal;
11     pthread_exit; pthread_getschedparam; pthread_mutex_destroy;
12     pthread_mutex_init; pthread_mutex_lock; pthread_mutex_unlock;
13     pthread_mutexattr_getkind_np; pthread_mutexattr_setkind_np;
14     pthread_self; pthread_setcancelstate; pthread_setcanceltype;
15     pthread_setschedparam;
16   }
17 }
18
19 libpthread {
20   GLIBC_2.0 {
21     # Hidden entry point (through macros).
22     _pthread_cleanup_pop; _pthread_cleanup_pop_restore; _pthread_cleanup_push;
23     _pthread_cleanup_push_defer;
24
25     # Internal libc interface to libpthread
26     __libc_internal_tsd_get; __libc_internal_tsd_set;
27
28     # Overwritten libc functions.
29     accept; close; connect; fcntl; fork; fsync; longjmp; lseek; msync;
30     nanosleep; open; pause; raise; read; recv; recvfrom; recvmsg; send;
31     sendmsg; sendto; sigaction; siglongjmp; system; tcdrain; wait;
32     waitpid; write;
33     __close; __connect; __fcntl; __lseek; __open; __read; __send; __wait;
34     __write;
35     _IO_flockfile; _IO_ftrylockfile; _IO_funlockfile;
36
37     # POSIX.1c extensions to libc.
38     flockfile; funlockfile; ftrylockfile;
39
40     # Non-standard POSIX1.x functions.
41     pthread_kill_other_threads_np; pthread_mutexattr_getkind_np;
42     pthread_mutexattr_setkind_np;
43
44     # Real POSIX.1c functions.
45     pthread_atfork; pthread_attr_destroy; pthread_attr_getdetachstate;
46     pthread_attr_getinheritsched; pthread_attr_getschedparam;
47     pthread_attr_getschedpolicy; pthread_attr_getscope; pthread_attr_init;
48     pthread_attr_setdetachstate; pthread_attr_setinheritsched;
49     pthread_attr_setschedparam; pthread_attr_setschedpolicy;
50     pthread_attr_setscope; pthread_cancel; pthread_cond_broadcast;
51     pthread_cond_destroy; pthread_cond_init; pthread_cond_signal;
52     pthread_cond_timedwait; pthread_cond_wait; pthread_condattr_destroy;
53     pthread_condattr_init; pthread_create; pthread_detach; pthread_equal;
54     pthread_exit; pthread_getschedparam; pthread_getspecific; pthread_join;
55     pthread_key_create; pthread_key_delete; pthread_kill;
56     pthread_mutex_destroy; pthread_mutex_init; pthread_mutex_lock;
57     pthread_mutex_trylock; pthread_mutex_unlock; pthread_mutexattr_destroy;
58     pthread_mutexattr_init; pthread_once; pthread_self; pthread_setcancelstate;
59     pthread_setcanceltype; pthread_setschedparam; pthread_setspecific;
60     pthread_sigmask; pthread_testcancel;
61
62     sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
63     sigwait;
64
65     # Protected names for functions used in other shared objects.
66     __pthread_atfork; __pthread_initialize; __pthread_getspecific;
67     __pthread_key_create; __pthread_mutex_destroy; __pthread_mutex_init;
68     __pthread_mutex_lock; __pthread_mutex_trylock; __pthread_mutex_unlock;
69     __pthread_mutexattr_destroy; __pthread_mutexattr_init;
70     __pthread_mutexattr_setkind_np; __pthread_once; __pthread_setspecific;
71
72     # The error functions.
73     __errno_location; __h_errno_location;
74   }
75   GLIBC_2.1 {
76     # Functions with changed interface.
77     pthread_attr_init; pthread_create;
78
79     # Unix98 extensions.
80     pthread_rwlock_init; pthread_rwlock_destroy; pthread_rwlock_rdlock;
81     pthread_rwlock_tryrdlock; pthread_rwlock_wrlock; pthread_rwlock_trywrlock;
82     pthread_rwlock_unlock; pthread_rwlockattr_init; pthread_rwlockattr_destroy;
83     pthread_rwlockattr_getpshared; pthread_rwlockattr_setpshared;
84     pthread_rwlockattr_getkind_np; pthread_rwlockattr_setkind_np;
85
86     pthread_attr_getguardsize; pthread_attr_setguardsize;
87     pthread_attr_getstackaddr; pthread_attr_setstackaddr;
88     pthread_attr_getstacksize; pthread_attr_setstacksize;
89
90     pthread_getconcurrency; pthread_setconcurrency;
91   }
92 }