(gaih_inet): Fix code to determine canonical name.
[glibc.git] / linuxthreads / Versions
blob3124814d99191c945c2ef4822ed8c9c769456fc8
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   GLIBC_2.1 {
18     pthread_attr_init;
19   }
20   GLIBC_PRIVATE {
21     # Internal libc interface to libpthread
22     __libc_internal_tsd_get; __libc_internal_tsd_set;
23   }
26 ld {
27   GLIBC_PRIVATE {
28     # Internal libc interface to libpthread
29     __libc_internal_tsd_get; __libc_internal_tsd_set;
30   }
33 libpthread {
34   GLIBC_2.0 {
35     # Hidden entry point (through macros).
36     _pthread_cleanup_pop; _pthread_cleanup_pop_restore; _pthread_cleanup_push;
37     _pthread_cleanup_push_defer;
39     # Overwritten libc functions.
40     accept; close; connect; fcntl; fork; fsync; longjmp; lseek; msync;
41     nanosleep; open; pause; raise; read; recv; recvfrom; recvmsg; send;
42     sendmsg; sendto; sigaction; siglongjmp; system; tcdrain; wait;
43     waitpid; write;
44     __close; __connect; __fcntl; __lseek; __open; __read; __send; __wait;
45     __write;
46     _IO_flockfile; _IO_ftrylockfile; _IO_funlockfile;
47     vfork; __fork;
49     # POSIX.1c extensions to libc.
50     flockfile; funlockfile; ftrylockfile;
52     # Non-standard POSIX1.x functions.
53     pthread_kill_other_threads_np; pthread_mutexattr_getkind_np;
54     pthread_mutexattr_setkind_np;
56     # Real POSIX.1c functions.
57     pthread_atfork; pthread_attr_destroy; pthread_attr_getdetachstate;
58     pthread_attr_getinheritsched; pthread_attr_getschedparam;
59     pthread_attr_getschedpolicy; pthread_attr_getscope; pthread_attr_init;
60     pthread_attr_setdetachstate; pthread_attr_setinheritsched;
61     pthread_attr_setschedparam; pthread_attr_setschedpolicy;
62     pthread_attr_setscope; pthread_cancel; pthread_cond_broadcast;
63     pthread_cond_destroy; pthread_cond_init; pthread_cond_signal;
64     pthread_cond_timedwait; pthread_cond_wait; pthread_condattr_destroy;
65     pthread_condattr_init; pthread_create; pthread_detach; pthread_equal;
66     pthread_exit; pthread_getschedparam; pthread_getspecific; pthread_join;
67     pthread_key_create; pthread_key_delete; pthread_kill;
68     pthread_mutex_destroy; pthread_mutex_init; pthread_mutex_lock;
69     pthread_mutex_trylock; pthread_mutex_unlock; pthread_mutexattr_destroy;
70     pthread_mutexattr_init; pthread_once; pthread_self; pthread_setcancelstate;
71     pthread_setcanceltype; pthread_setschedparam; pthread_setspecific;
72     pthread_sigmask; pthread_testcancel;
74     sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
75     sigwait;
77     # Protected names for functions used in other shared objects.
78     __pthread_atfork; __pthread_initialize; __pthread_getspecific;
79     __pthread_key_create; __pthread_mutex_destroy; __pthread_mutex_init;
80     __pthread_mutex_lock; __pthread_mutex_trylock; __pthread_mutex_unlock;
81     __pthread_mutexattr_destroy; __pthread_mutexattr_init;
82     __pthread_mutexattr_settype; __pthread_once; __pthread_setspecific;
84     # The error functions.
85     __errno_location; __h_errno_location;
87     # Must be preemptible
88     __sigaction;
89   }
90   GLIBC_2.1 {
91     # Functions with changed interface.
92     pthread_attr_init; pthread_create;
94     # Unix98 extensions.
95     pthread_rwlock_init; pthread_rwlock_destroy; pthread_rwlock_rdlock;
96     pthread_rwlock_tryrdlock; pthread_rwlock_wrlock; pthread_rwlock_trywrlock;
97     pthread_rwlock_unlock; pthread_rwlockattr_init; pthread_rwlockattr_destroy;
98     pthread_rwlockattr_getpshared; pthread_rwlockattr_setpshared;
99     pthread_rwlockattr_getkind_np; pthread_rwlockattr_setkind_np;
101     pthread_attr_getguardsize; pthread_attr_setguardsize;
102     pthread_attr_getstackaddr; pthread_attr_setstackaddr;
103     pthread_attr_getstacksize; pthread_attr_setstacksize;
105     pthread_getconcurrency; pthread_setconcurrency;
107     pthread_mutexattr_gettype; pthread_mutexattr_settype;
109     sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
111     # helper functions
112     __libc_current_sigrtmin; __libc_current_sigrtmax;
113     __libc_allocate_rtsig;
114   }
115   GLIBC_2.1.1 {
116     sem_close; sem_open; sem_unlink;
117   }
118   GLIBC_2.1.2 {
119     __vfork;
120   }
121   GLIBC_2.2 {
122     # For the cancelation wrappers.
123     pread; __pread64; pread64; pwrite; __pwrite64; pwrite64; lseek64;
124     open64; __open64;
126     __res_state;
128     # Names used internally.
129     __pthread_rwlock_init; __pthread_rwlock_destroy; __pthread_rwlock_rdlock;
130     __pthread_rwlock_tryrdlock; __pthread_rwlock_wrlock;
131     __pthread_rwlock_trywrlock; __pthread_rwlock_unlock;
133     # No really implemented.
134     pthread_condattr_getpshared; pthread_condattr_setpshared;
135     pthread_mutexattr_getpshared; pthread_mutexattr_setpshared;
137     # New functions from IEEE Std. 1003.1-200x.
138     sem_timedwait;
139     pthread_attr_getstack; pthread_attr_setstack;
140     pthread_spin_destroy; pthread_spin_init; pthread_spin_lock;
141     pthread_spin_trylock; pthread_spin_unlock;
142     pthread_getcpuclockid;
143     pthread_barrier_destroy; pthread_barrier_init; pthread_barrier_wait;
144     pthread_barrierattr_destroy; pthread_barrierattr_init;
145     pthread_barrierattr_getpshared; pthread_barrierattr_setpshared;
146     pthread_mutex_timedlock;
147     pthread_rwlock_timedrdlock; pthread_rwlock_timedwrlock;
149     # Extensions.
150     pthread_yield;
151   }
152   GLIBC_2.2.3 {
153     # Extensions.
154     pthread_getattr_np;
155   }
156   GLIBC_2.2.6 {
157     # Cancellation wrapper
158     __nanosleep;
159   }
160   GLIBC_PRIVATE {
161     # Internal libc interface to libpthread
162     __libc_internal_tsd_get; __libc_internal_tsd_set;
163     __pthread_kill_other_threads_np;
164   }