]>
Commit | Line | Data |
---|---|---|
1 | /* version.h -- Cygwin version numbers and accompanying documentation. | |
2 | ||
3 | This file is part of Cygwin. | |
4 | ||
5 | This software is a copyrighted work licensed under the terms of the | |
6 | Cygwin license. Please consult the file "CYGWIN_LICENSE" for | |
7 | details. */ | |
8 | ||
9 | /* The DLL major and minor numbers correspond to the "version of | |
10 | the Cygwin shared library". This version is used to track important | |
11 | changes to the DLL and is mainly informative in nature. */ | |
12 | ||
13 | #define CYGWIN_VERSION_DLL_MAJOR 3006 | |
14 | #define CYGWIN_VERSION_DLL_MINOR 0 | |
15 | ||
16 | /* CYGWIN_VERSION_DLL_COMBINED gives us a single number representing the | |
17 | combined DLL major and minor numbers. */ | |
18 | ||
19 | /* WATCH OUT FOR OCTAL! Don't use, say, "00020" for 0.20 */ | |
20 | ||
21 | #define CYGWIN_VERSION_DLL_MAKE_COMBINED(maj, min) (((maj) * 1000) + min) | |
22 | #define CYGWIN_VERSION_DLL_COMBINED \ | |
23 | CYGWIN_VERSION_DLL_MAKE_COMBINED (CYGWIN_VERSION_DLL_MAJOR, CYGWIN_VERSION_DLL_MINOR) | |
24 | ||
25 | /* Every version of cygwin <= this uses an old, incorrect method to determine | |
26 | signal masks. */ | |
27 | #define CYGWIN_VERSION_PER_PROCESS_API_VERSION_COMBINED(u) \ | |
28 | CYGWIN_VERSION_DLL_MAKE_COMBINED ((u)->api_major, (u)->api_minor) | |
29 | ||
30 | #define CYGWIN_VERSION_USER_API_VERSION_COMBINED \ | |
31 | CYGWIN_VERSION_PER_PROCESS_API_VERSION_COMBINED (user_data) | |
32 | ||
33 | /* Please note that the first API_VERSION of the 64 bit build was 0.263. | |
34 | For macros checking for older versions, bisect the git repo. */ | |
35 | ||
36 | #define CYGWIN_VERSION_CHECK_FOR_EXTRA_TM_MEMBERS \ | |
37 | (CYGWIN_VERSION_USER_API_VERSION_COMBINED >= 272) | |
38 | ||
39 | /* API_MAJOR 0.0: Initial version. API_MINOR changes: | |
40 | 1: Export cygwin32_ calls as cygwin_ as well. | |
41 | 2: Export j1, jn, y1, yn. | |
42 | 3: Export dll_noncygwin_dllcrt0. | |
43 | 4: New socket ioctls, revamped ifconf support. | |
44 | 5: Thread support/exports. | |
45 | 6: Change in termios handling. | |
46 | 7: Export scandir and alphasort. | |
47 | 8: Export _ctype_, _sys_errlist, _sys_nerr. | |
48 | 9: Mount-related changes, new cygwin_umount export. | |
49 | Raw device support (tape, floppies). | |
50 | 10: Fast math routine support added. | |
51 | 11: Export seekdir, telldir. | |
52 | 12: Export pthread_join, pthread_detach. | |
53 | 13: Export math funcs gamma and friends, also _j0, _j1, etc. | |
54 | 14: Export snprintf and vnsprintf. | |
55 | 15: Export glob | |
56 | 16: Export cygwin_stackdump | |
57 | 17: Export fast math stuff | |
58 | 18: Stop exporting _strace_wm | |
59 | 19: Export fchown, lchown, lacl | |
60 | 20: regsub, inet_network | |
61 | 21: incompatible change to stdio cr/lf and buffering | |
62 | 22: Export cygwin_logon_user, cygwin_set_impersonation_token. | |
63 | geteuid, getegid return effective uid/gid. | |
64 | getuid, getgid return real uid/gid. | |
65 | seteuid, setegid set only effective uid/gid. | |
66 | setuid, setgid set effective and real uid/gid. | |
67 | 23: Export new dll_crt0 interface and cygwin_user_data for use | |
68 | with crt0 startup code. | |
69 | 24: Export poll and _poll. | |
70 | 25: Export getmode and _getmode. | |
71 | 26: CW_GET_CYGDRIVE_PREFIXES addition to external.cc | |
72 | 27: CW_GETPINFO_FULL addition to external.cc | |
73 | 28: Accidentally bumped by cgf | |
74 | 29: Export hstrerror | |
75 | 30: CW_GET_CYGDRIVE_INFO addition to external.cc | |
76 | 31: Export inet_aton | |
77 | 32: Export getrlimit/setrlimit | |
78 | 33: Export setlogmask | |
79 | 34: Separated out mount table | |
80 | 35: Export drand48, erand48, jrand48, lcong48, lrand48, | |
81 | mrand48, nrand48, seed48, and srand48. | |
82 | 36: Added _cygwin_S_IEXEC, et al | |
83 | 37: [f]pathconv support _PC_POSIX_PERMISSIONS and _PC_POSIX_SECURITY | |
84 | 38: vscanf, vscanf_r, and random pthread functions | |
85 | 39: asctime_r, ctime_r, gmtime_r, localtime_r | |
86 | 40: fchdir | |
87 | 41: __signgam | |
88 | 42: sys_errlist, sys_nerr | |
89 | 43: sigsetjmp, siglongjmp fixed | |
90 | 44: Export dirfd | |
91 | 45: perprocess change, gamma_r, gammaf_r, lgamma_r, lgammaf_r | |
92 | 46: Remove cygwin_getshared | |
93 | 47: Report EOTWarningZoneSize in struct mtget. | |
94 | 48: Export "posix" regex functions | |
95 | 49: Export setutent, endutent, utmpname, getutent, getutid, getutline. | |
96 | 50: Export fnmatch. | |
97 | 51: Export recvmsg, sendmsg. | |
98 | 52: Export strptime | |
99 | 53: Export strlcat, strlcpy. | |
100 | 54: Export __fpclassifyd, __fpclassifyf, __signbitd, __signbitf. | |
101 | 55: Export fcloseall, fcloseall_r. | |
102 | 56: Make ntsec on by default. | |
103 | 57: Export setgroups. | |
104 | 58: Export memalign, valloc, malloc_trim, malloc_usable_size, mallopt, | |
105 | malloc_stats | |
106 | 59: getsid | |
107 | 60: MSG_NOSIGNAL | |
108 | 61: Export getc_unlocked, getchar_unlocked, putc_unlocked, | |
109 | putchar_unlocked | |
110 | 62: Erroneously bumped | |
111 | 63: Export pututline | |
112 | 64: Export fseeko, ftello | |
113 | 65: Export siginterrupt | |
114 | 66: Export nl_langinfo | |
115 | 67: Export pthread_getsequence_np | |
116 | 68: Export netdb stuff | |
117 | 69: Export strtof | |
118 | 70: Export asprintf, _asprintf_r, vasprintf, _vasprintf_r | |
119 | 71: Export strerror_r | |
120 | 72: Export nanosleep | |
121 | 73: Export setreuid32, setreuid, setregid32, setregid | |
122 | 74: Export _strtold a64l hcreate hcreate_r hdestroy hdestroy_r hsearch | |
123 | hsearch_r isblank iswalnum iswalpha iswblank iswcntrl iswctype | |
124 | iswdigit iswgraph iswlower iswprint iswpunct iswspace iswupper | |
125 | iswxdigit l64a mbrlen mbrtowc mbsinit mbsrtowcs mempcpy | |
126 | on_exit setbuffer setlinebuf strndup strnlen tdelete tdestroy | |
127 | tfind towctrans towlower towupper tsearch twalk wcrtomb wcscat | |
128 | wcschr wcscpy wcscspn wcslcat wcslcpy wcsncat wcsncmp wcsncpy | |
129 | wcspbrk wcsrchr wcsrtombs wcsspn wcsstr wctob wctob wctrans | |
130 | wctype wmemchr wmemcmp wmemcpy wmemmove wmemset | |
131 | 75: Export exp2 exp2f fdim fdimf fma fmaf fmax fmaxf fmin fminf lrint | |
132 | lrintf lround lroundf nearbyint nearbyintf remquo remquof | |
133 | round roundf scalbln scalblnf sincos sincosf tgamma tgammaf | |
134 | truncf | |
135 | 76: mallinfo | |
136 | 77: thread-safe exit/at_exit | |
137 | 78: Use stat and fstat rather than _stat, and _fstat. | |
138 | Export btowc and trunc. | |
139 | 79: Export acl32 aclcheck32 aclfrommode32 aclfrompbits32 aclfromtext32 | |
140 | aclsort32 acltomode32 acltopbits32 acltotext32 facl32 | |
141 | fgetpos64 fopen64 freopen64 fseeko64 fsetpos64 ftello64 | |
142 | _open64 _lseek64 _fstat64 _stat64 mknod32 | |
143 | 80: Export pthread_rwlock stuff | |
144 | 81: CW_CHECK_NTSEC addition to external.cc | |
145 | 82: Export wcscoll wcswidth wcwidth | |
146 | 83: Export gethostid | |
147 | 84: Pty open allocates invisible console. 64 bit interface | |
148 | 85: Export new 32/64 functions from API 0.79 only with leading | |
149 | underscore. No problems with backward compatibility since no | |
150 | official release has been made so far. This change removes | |
151 | exported symbols like fopen64, which might confuse configure. | |
152 | 86: Export ftok | |
153 | 87: Export vsyslog | |
154 | 88: Export _getreent | |
155 | 89: Export __mempcpy | |
156 | 90: Export _fopen64 | |
157 | 91: Export argz_add argz_add_sep argz_append argz_count argz_create | |
158 | argz_create_sep argz_delete argz_extract argz_insert | |
159 | argz_next argz_replace argz_stringify envz_add envz_entry | |
160 | envz_get envz_merge envz_remove envz_strip | |
161 | 92: Export getusershell, setusershell, endusershell | |
162 | 93: Export daemon, forkpty, openpty, iruserok, ruserok, login_tty, | |
163 | openpty, forkpty, revoke, logwtmp, updwtmp | |
164 | 94: Export getopt, getopt_long, optarg, opterr, optind, optopt, | |
165 | optreset, __check_rhosts_file, __rcmd_errstr. | |
166 | 95: Export shmat, shmctl, shmdt, shmget. | |
167 | 96: CW_GET_ERRNO_FROM_WINERROR addition to external.cc | |
168 | 97: Export sem_open, sem_close, sem_timedwait, sem_getvalue. | |
169 | 98: Export _tmpfile64. | |
170 | 99: CW_GET_POSIX_SECURITY_ATTRIBUTE addition to external.cc. | |
171 | 100: CW_GET_SHMLBA addition to external.cc. | |
172 | 101: Export err, errx, verr, verrx, warn, warnx, vwarn, vwarnx. | |
173 | 102: CW_GET_UID_FROM_SID and CW_GET_GID_FROM_SID addition to external.cc. | |
174 | 103: Export getprogname, setprogname. | |
175 | 104: Export msgctl, msgget, msgrcv, msgsnd, semctl, semget, semop. | |
176 | 105: Export sigwait. | |
177 | 106: Export flock. | |
178 | 107: Export fcntl64. | |
179 | 108: Remove unused (hopefully) reent_data export. | |
180 | 109: Oh well. Someone uses reent_data. | |
181 | 110: Export clock_gettime, sigwaitinfo, timer_create, timer_delete, | |
182 | timer_settime | |
183 | 111: Export sigqueue, sighold. | |
184 | 112: Redefine some mtget fields. | |
185 | 113: Again redefine some mtget fields. Use mt_fileno and mt_blkno as | |
186 | on Linux. | |
187 | 114: Export rand_r, ttyname_r. | |
188 | 115: Export flockfile, ftrylockfile, funlockfile, getgrgid_r, getgrnam_r, | |
189 | getlogin_r. | |
190 | 116: Export atoll. | |
191 | 117: Export utmpx functions, Return utmp * from pututent. | |
192 | 118: Export getpriority, setpriority. | |
193 | 119: Export fdatasync. | |
194 | 120: Export basename, dirname. | |
195 | 122: Export statvfs, fstatvfs. | |
196 | 123: Export utmpxname. | |
197 | 124: Add MAP_AUTOGROW flag to mmap. | |
198 | 125: LD_PRELOAD/CW_HOOK available. | |
199 | 126: Export lsearch, lfind, timer_gettime. | |
200 | 127: Export sigrelese. | |
201 | 128: Export pselect. | |
202 | 129: Export mkdtemp. | |
203 | 130: Export strtoimax, strtoumax, llabs, imaxabs, lldiv, imaxdiv. | |
204 | 131: Export inet_ntop, inet_pton. | |
205 | 132: Add GLOB_LIMIT flag to glob. | |
206 | 133: Export __getline, __getdelim. | |
207 | 134: Export getline, getdelim. | |
208 | 135: Export pread, pwrite | |
209 | 136: Add TIOCMBIS/TIOCMBIC ioctl codes. | |
210 | 137: fts_children, fts_close, fts_get_clientptr, fts_get_stream, | |
211 | fts_open, fts_read, fts_set, fts_set_clientptr, ftw, nftw. | |
212 | 138: Export readdir_r. | |
213 | 139: Start using POSIX definition of struct msghdr and WinSock2 | |
214 | IPPROTO_IP values. | |
215 | 140: Export mlock, munlock. | |
216 | 141: Export futimes, lutimes. | |
217 | 142: Export memmem | |
218 | 143: Export clock_getres, clock_setres | |
219 | 144: Export timelocal, timegm. | |
220 | 145: Add MAP_NORESERVE flag to mmap. | |
221 | 146: Change SI_USER definition. | |
222 | 147: Eliminate problematic d_ino from dirent structure. unsetenv now | |
223 | returns int, as per linux. | |
224 | 148: Add open(2) flags O_SYNC, O_RSYNC, O_DSYNC and O_DIRECT. | |
225 | 149: Add open(2) flag O_NOFOLLOW. | |
226 | 150: Export getsubopt. | |
227 | 151: Export __opendir_with_d_ino | |
228 | 152: Revert to having d_ino in dirent unconditionally. | |
229 | 153: Export updwtmpx, Implement CW_SETUP_WINENV. | |
230 | 154: Export sigset, sigignore. | |
231 | 155: Export __isinff, __isinfd, __isnanf, __isnand. | |
232 | 156: Export __srbuf_r, __swget_r. | |
233 | 157: Export gai_strerror, getaddrinfo, getnameinfo, freeaddrinfo, | |
234 | in6addr_any, in6addr_loopback. | |
235 | 158: Export bindresvport, bindresvport_sa, iruserok_sa, rcmd_af, | |
236 | rresvport_af. | |
237 | 159: Export posix_openpt. | |
238 | 160: Export posix_fadvise, posix_fallocate. | |
239 | 161: Export resolver functions. | |
240 | 162: New struct ifreq. Export if_nametoindex, if_indextoname, | |
241 | if_nameindex, if_freenameindex. | |
242 | 163: Export posix_madvise, posix_memalign. | |
243 | 164: Export shm_open, shm_unlink. | |
244 | 165: Export mq_close, mq_getattr, mq_notify, mq_open, mq_receive, | |
245 | mq_send, mq_setattr, mq_timedreceive, mq_timedsend, mq_unlink. | |
246 | 166: Export sem_unlink. | |
247 | 167: Add st_birthtim to struct stat. | |
248 | 168: Export asnprintf, dprintf, _Exit, vasnprintf, vdprintf. | |
249 | 169: Export confstr. | |
250 | 170: Export insque, remque. | |
251 | 171: Export exp10, exp10f, pow10, pow10f, strcasestr, funopen, | |
252 | fopencookie. | |
253 | 172: Export getifaddrs, freeifaddrs. | |
254 | 173: Export __assert_func. | |
255 | 174: Export stpcpy, stpncpy. | |
256 | 175: Export fdopendir. | |
257 | 176: Export wcstol, wcstoll, wcstoul, wcstoull, wcsxfrm. | |
258 | 177: Export sys_sigabbrev | |
259 | 178: Export wcpcpy, wcpncpy. | |
260 | 179: Export _f_llrint, _f_llrintf, _f_llrintl, _f_lrint, _f_lrintf, | |
261 | _f_lrintl, _f_rint, _f_rintf, _f_rintl, llrint, llrintf, llrintl, | |
262 | rintl, lrintl, and redirect exports of lrint, lrintf, rint, rintf. | |
263 | 180: Export getxattr, lgetxattr, fgetxattr, listxattr, llistxattr, | |
264 | flistxattr, setxattr, lsetxattr, fsetxattr, removexattr, | |
265 | lremovexattr, fremovexattr. | |
266 | 181: Export cygwin_conv_path, cygwin_create_path, cygwin_conv_path_list. | |
267 | 182: Export lockf. | |
268 | 183: Export open_memstream, fmemopen. | |
269 | 184: Export openat, faccessat, fchmodat, fchownat, fstatat, futimesat, | |
270 | linkat, mkdirat, mkfifoat, mknodat, readlinkat, renameat, symlinkat, | |
271 | unlinkat. | |
272 | 185: Export futimens, utimensat. | |
273 | 186: Remove ancient V8 regexp functions. Also eliminate old crt0 interface | |
274 | which provided its own user_data structure. | |
275 | 187: Export cfmakeraw. | |
276 | 188: Export CW_SET_PRIV_KEY. | |
277 | 189: Implement dirent.d_type. | |
278 | 190: Export fgetwc, fgetws, fputwc, fputws, fwide, getwc, getwchar, | |
279 | putwc, putwchar, ungetwc. | |
280 | 191: Export glob_pattern_p | |
281 | 192: CW_SETERRNO added | |
282 | 193: Export wcstok. | |
283 | 194: fcntl.h flags O_DIRECTORY, O_EXEC and O_SEARCH added. | |
284 | 195: Export wcstod, wcstof. | |
285 | 196: Export wcsnlen. | |
286 | 197: Export wcstoimax, wcstoumax. | |
287 | 198: Export reallocf. | |
288 | 199: Export open_wmemstream. | |
289 | 200: Export mbsnrtowcs, wcsnrtombs. | |
290 | 201: Export wprintf, fwprintf, swprintf, vwprintf, vfwprintf, vswprintf. | |
291 | 202: Export gethostbyname2. | |
292 | 203: Export wcsftime. | |
293 | 204: recv/send flag MSG_DONTWAIT added. | |
294 | 205: Export wscanf, fwscanf, swscanf, vwscanf, vfwscanf, vswscanf. | |
295 | 206: Export wcscasecmp, wcsncasecmp. | |
296 | 207: Export wcsdup. | |
297 | 208: Export log2, log2f. | |
298 | 209: Export wordexp, wordfree. | |
299 | 210: New ctype layout using variable ctype pointer. Export __ctype_ptr__. | |
300 | 211: Export fpurge, mkstemps. | |
301 | 212: Add and export libstdc++ malloc wrappers. | |
302 | 213: Export canonicalize_file_name, eaccess, euidaccess. | |
303 | 214: Export execvpe, fexecve. | |
304 | 215: CW_EXIT_PROCESS added. | |
305 | 216: CW_SET_EXTERNAL_TOKEN added. | |
306 | 217: CW_GET_INSTKEY added. | |
307 | 218: Export get_nprocs, get_nprocs_conf, get_phys_pages, get_avphys_pages. | |
308 | 219: Export dup3, pipe2, O_CLOEXEC, F_DUPFD_CLOEXEC. | |
309 | 220: Export accept4, SOCK_CLOEXEC, SOCK_NONBLOCK. | |
310 | 221: Export strfmon. | |
311 | 222: CW_INT_SETLOCALE added. | |
312 | 223: SIGPWR added. | |
313 | 224: Export xdr* functions. | |
314 | 225: Export __xdr* functions. | |
315 | 226: Export __locale_mb_cur_max. | |
316 | 227: Add pseudo_reloc_start, pseudo_reloc_end, image_base to per_process. | |
317 | 228: CW_STRERROR added. | |
318 | 229: Add mkostemp, mkostemps. | |
319 | 230: Add CLOCK_MONOTONIC. | |
320 | 231: Add fenv.h functions. | |
321 | 232: Export cacos, cacosf, cacosh, cacoshf, carg, cargf, casin, casinf, | |
322 | casinh, casinhf, catan, catanf, catanh, catanhf, ccos, ccosf, ccosh, | |
323 | ccoshf, cexp, cexpf, cimag, cimagf, clog, clogf, conj, conjf, cpow, | |
324 | cpowf, cproj, cprojf, creal, crealf, csin, csinf, csinh, csinhf, | |
325 | csqrt, csqrtf, ctan, ctanf, ctanh, ctanhf. | |
326 | 233: Add TIOCGPGRP, TIOCSPGRP. Export llround, llroundf. | |
327 | 234: Export program_invocation_name, program_invocation_short_name. | |
328 | 235: Export madvise. | |
329 | 236: Export pthread_yield, __xpg_strerror_r. | |
330 | 237: Export strchrnul. | |
331 | 238: Export pthread_spin_destroy, pthread_spin_init, pthread_spin_lock, | |
332 | pthread_spin_trylock, pthread_spin_unlock. | |
333 | 239: Export pthread_setschedprio. | |
334 | 240: Export ppoll. | |
335 | 241: Export pthread_attr_getstack, pthread_attr_getstackaddr, | |
336 | pthread_getattr_np. | |
337 | 242: Export psiginfo, psignal, sys_siglist. | |
338 | 243: Export sysinfo. | |
339 | 244: Export clock_settime. | |
340 | 245: Export pthread_attr_getguardsize, pthread_attr_setguardsize, | |
341 | pthread_attr_setstack, pthread_attr_setstackaddr. | |
342 | 246: Add CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID. | |
343 | Export clock_getcpuclockid, pthread_getcpuclockid. | |
344 | 247: Export error, error_at_line, error_message_count, error_one_per_line, | |
345 | error_print_progname. | |
346 | 248: Export __fpurge. | |
347 | 249: Export pthread_condattr_getclock, pthread_condattr_setclock. | |
348 | 250: Export clock_nanosleep. | |
349 | 251: RTLD_NODELETE, RTLD_NOLOAD, RTLD_DEEPBIND added. | |
350 | 252: CW_CVT_ENV_TO_WINENV added. | |
351 | 253: Export TIOCSCTTY, tcgetsid. | |
352 | 254: Export getgrouplist. | |
353 | 255: Export ptsname_r. | |
354 | 256: Add CW_ALLOC_DRIVE_MAP, CW_MAP_DRIVE_MAP, CW_FREE_DRIVE_MAP. | |
355 | 257: Export getpt. | |
356 | 258: Export get_current_dir_name. | |
357 | 259: Export pthread_sigqueue. | |
358 | 260: Export scandirat. | |
359 | 261: Export memrchr. | |
360 | 262: Export getmntent_r. | |
361 | 263: Export cfsetspeed. | |
362 | 264: Consistently export strtold | |
363 | 265: Export __b64_ntop, __b64_pton. | |
364 | 266: Export arc4random, arc4random_addrandom, arc4random_buf, | |
365 | arc4random_stir, arc4random_uniform. | |
366 | 267: Export rawmemchr. | |
367 | 268: Export GetCommandLineA, GetCommandLineW | |
368 | 269: Allow application override of posix_memalign. | |
369 | 270: Redefine mtget.mt_resid field to contain current partition as well | |
370 | as number of partitions on tape. | |
371 | 271: Export posix_spawn, posix_spawnp, and helper functions. | |
372 | 272: Export tm_gmtoff and tm_zone members. | |
373 | 273: Skipped. | |
374 | 274: Export __cxa_atexit and __cxa_finalize. | |
375 | 275: Introduce account mapping from Windows account DBs. Add CW_SETENT, | |
376 | CW_GETENT, CW_ENDENT, CW_GETNSSSEP, CW_GETPWSID, CW_GETGRSID, | |
377 | CW_CYGNAME_FROM_WINNAME. | |
378 | 276: Export ffsl, ffsll. | |
379 | 277: Add setsockopt(SO_PEERCRED). | |
380 | 278: Add quotactl. | |
381 | 279: Export stime. | |
382 | 280: Static atexit in libcygwin.a, CW_FIXED_ATEXIT. | |
383 | 281: Add CW_GETNSS_PWD_SRC, CW_GETNSS_GRP_SRC. | |
384 | 282: Export __bsd_qsort_r, qsort_r. | |
385 | 283: Export __fbufsize, __flbf, __fpending, __freadable, __freading, | |
386 | __fsetlocking, __fwritable, __fwriting. clearerr_unlocked, | |
387 | feof_unlocked, ferror_unlocked, fflush_unlocked, fgetc_unlocked, | |
388 | fgets_unlocked, fgetwc_unlocked, fgetws_unlocked, fileno_unlocked, | |
389 | fputc_unlocked, fputs_unlocked, fputwc_unlocked, fputws_unlocked, | |
390 | fread_unlocked, fwrite_unlocked, getwc_unlocked, getwchar_unlocked, | |
391 | putwc_unlocked, putwchar_unlocked. | |
392 | 284: Export sockatmark. | |
393 | 285: Export wcstold. | |
394 | 286: Export cabsl, cimagl, creall, finitel, hypotl, sqrtl. | |
395 | 287: Export issetugid. | |
396 | 288: Export getcontext, makecontext, setcontext, swapcontext. | |
397 | 289: Export sigsetjmp, siglongjmp. | |
398 | 290: Add sysconf cache handling. | |
399 | 291: Export aligned_alloc, at_quick_exit, quick_exit. | |
400 | 292: Export rpmatch. | |
401 | 293: Convert utmpname/utmpxname to int. | |
402 | 294: Export clog10, clog10f. | |
403 | 295: Export POSIX ACL functions. | |
404 | 296: Export __getpagesize. | |
405 | 297: Export missing math functions, acoshl, acosl, asinhl, asinl, atan2l, | |
406 | atanhl, atanl, cacoshl, cacosl, cargl, casinhl, casinl, catanhl, | |
407 | catanl, ccoshl, ccosl, ceill, cexpl, clog10l, clogl, conjl, | |
408 | copysignl, coshl, cosl, cpowl, cprojl, csinhl, csinl, csqrtl, ctanhl, | |
409 | ctanl, dreml, erfcl, erfl, exp10l, exp2l, expl, expm1l, fabsl, fdiml, | |
410 | floorl, fmal, fmaxl, fminl, fmodl, frexpl, ilogbl, isinfl, isnanl, | |
411 | ldexpl, lgammal, lgammal_r, llroundl, log10l, log1pl, log2l, logbl, | |
412 | logl, lroundl, modfl, nearbyintl, nextafterl, nexttoward, | |
413 | nexttowardf, nexttowardl, pow10l, powl, remainderl, remquol, roundl, | |
414 | scalbl, scalblnl, scalbnl, sincosl, sinhl, sinl, tanhl, tanl, | |
415 | tgammal, truncl. | |
416 | 298: Export newlocale, freelocale, duplocale, uselocale. | |
417 | 299: Export __locale_ctype_ptr_l, isalnum_l, isalpha_l, isascii_l, isblank_l, | |
418 | iscntrl_l, isdigit_l, isgraph_l, islower_l, isprint_l, ispunct_l, | |
419 | isspace_l, isupper_l, iswalnum_l, iswalpha_l, iswblank_l, iswcntrl_l, | |
420 | iswctype_l, iswdigit_l, iswgraph_l, iswlower_l, iswprint_l, iswpunct_l, | |
421 | iswspace_l, iswupper_l, iswxdigit_l, isxdigit_l, toascii_l, tolower_l, | |
422 | toupper_l, towctrans_l, towlower_l, towupper_l, wctrans_l, wctype_l. | |
423 | 300: Export strcasecmp_l, strcoll_l, strfmon_l, strftime_l, strncasecmp_l, | |
424 | strxfrm_l, wcscasecmp_l, wcscoll_l, wcstrncasecmp_l, wcstrxfrm_l. | |
425 | 301: Export strtod_l, strtof_l, strtol_l, strtold_l, strtoll_l, strtoul_l, | |
426 | strtoull_l, wcstod_l, wcstof_l, wcstol_l, wcstold_l, wcstoll_l, | |
427 | wcstoul_l, wcstoull_l. | |
428 | 302: Export nl_langinfo_l. | |
429 | 303: Export pthread_getname_np, pthread_setname_np. | |
430 | 304: Export strerror_l, strptime_l, wcsftime_l. | |
431 | 305: [f]pathconf flag _PC_CASE_INSENSITIVE added. | |
432 | 306: Export getentropy, getrandom. | |
433 | 307: Export timingsafe_bcmp, timingsafe_memcmp. | |
434 | 308: Export dladdr. | |
435 | 309: Export getloadavg. | |
436 | 310: Export reallocarray. | |
437 | 311: Export __xpg_sigpause. | |
438 | 312: Export strverscmp, versionsort. | |
439 | 313: Export fls, flsl, flsll. | |
440 | 314: Export explicit_bzero. | |
441 | 315: Export pthread_mutex_timedlock. | |
442 | 316: Export pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock. | |
443 | 317: Export renameat2. | |
444 | 318: Export strnstr. | |
445 | 319: Define O_TMPFILE, O_NOATIME. | |
446 | 320: Export __chk_fail, __gets_chk, __memcpy_chk, __memmove_chk, | |
447 | __mempcpy_chk, __memset_chk, __snprintf_chk, __sprintf_chk, | |
448 | __stack_chk_fail, __stack_chk_guard, __stpcpy_chk, __stpncpy_chk, | |
449 | __strcat_chk, __strcpy_chk, __strncat_chk, __strncpy_chk, | |
450 | __vsnprintf_chk, __vsprintf_chk. | |
451 | 321: Export wmempcpy. | |
452 | 322: [w]scanf %m modifier. | |
453 | 323: scanf %l[ conversion. | |
454 | 324: Export sigtimedwait. | |
455 | 325: Export catclose, catgets, catopen. | |
456 | 326: Export clearenv. | |
457 | 327: Export pthread_tryjoin_np, pthread_timedjoin_np. | |
458 | 328: Export aio_cancel, aio_error, aio_fsync, aio_read, aio_return, | |
459 | aio_suspend, aio_write, lio_listio. | |
460 | 329: Export sched_getcpu. | |
461 | 330: Add CLOCK_REALTIME_COARSE, CLOCK_MONOTONIC_RAW, CLOCK_MONOTONIC_COARSE, | |
462 | CLOCK_BOOTTIME. | |
463 | 331: Add timer_getoverrun, DELAYTIMER_MAX. | |
464 | 332: Add signalfd. | |
465 | 333: Add timerfd_create, timerfd_gettime, timerfd_settime. | |
466 | 334: Remove matherr. | |
467 | 335: Change size of utsname, change uname output. | |
468 | 336: New Cygwin PID algorithm (yeah, not really an API change) | |
469 | 337: MOUNT_BINARY -> MOUNT_TEXT | |
470 | 338: Export secure_getenv. | |
471 | 339: Export sched_getaffinity, sched_setaffinity, pthread_getaffinity_np, | |
472 | pthread_setaffinity_np, __sched_getaffinity_sys. | |
473 | 340: Export dbm_clearerr, dbm_close, dbm_delete, dbm_dirfno, dbm_error, | |
474 | dbm_fetch, dbm_firstkey, dbm_nextkey, dbm_open, dbm_store. | |
475 | 341: Export pthread_cond_clockwait, pthread_mutex_clocklock, | |
476 | pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock, | |
477 | sem_clockwait, sig2str, str2sig. | |
478 | 342: Remove cleanup_glue. | |
479 | 343: Change FD_SETSIZE and NOFILE. | |
480 | 344: Remove _alloca. | |
481 | 345: Reinstantiate _alloca. | |
482 | 346: (Belatedly) add posix_spawn_file_actions_addchdir_np, | |
483 | posix_spawn_file_actions_addfchdir_np. | |
484 | 347: Add c16rtomb, c32rtomb, mbrtoc16, mbrtoc32. | |
485 | 348: Add c8rtomb, mbrtoc. | |
486 | 349: Add fallocate. | |
487 | 350: Add close_range. | |
488 | 351: Add getlocalename_l. | |
489 | 352: Implement dirent.d_reclen. | |
490 | 353: Implement fdclosedir. | |
491 | 354: Implement posix_getdents. | |
492 | 355: Implement setproctitle. | |
493 | ||
494 | Note that we forgot to bump the api for ualarm, strtoll, strtoull, | |
495 | sigaltstack, sethostname. */ | |
496 | ||
497 | #define CYGWIN_VERSION_API_MAJOR 0 | |
498 | #define CYGWIN_VERSION_API_MINOR 355 | |
499 | ||
500 | /* There is also a compatibity version number associated with the shared memory | |
501 | regions. It is incremented when incompatible changes are made to the shared | |
502 | memory region *or* to any named shared mutexes, semaphores, etc. */ | |
503 | ||
504 | #define CYGWIN_VERSION_SHARED_DATA 5 | |
505 | ||
506 | /* An identifier used in the names used to create shared objects. The full | |
507 | names include the CYGWIN_VERSION_SHARED_DATA version as well as this | |
508 | identifier. */ | |
509 | ||
510 | #define CYGWIN_VERSION_DLL_IDENTIFIER "cygwin1" | |
511 | ||
512 | /* The Cygwin mount table interface in the Win32 registry also has a version | |
513 | number associated with it in case that is changed in a non-backwards | |
514 | compatible fashion. Increment this version number whenever incompatible | |
515 | changes in mount table registry usage are made. | |
516 | ||
517 | 1: Original number version. | |
518 | 2: New mount registry layout, system-wide mount accessibility. | |
519 | 3: The mount table is not in the registry anymore, but in /etc/fstab. | |
520 | */ | |
521 | ||
522 | #define CYGWIN_VERSION_MOUNT_REGISTRY 3 | |
523 | ||
524 | /* Identifiers used in the Win32 registry. */ | |
525 | ||
526 | #define CYGWIN_INFO_CYGWIN_REGISTRY_NAME "Cygwin" | |
527 | #define CYGWIN_INFO_INSTALLATIONS_NAME "Installations" | |
528 | ||
529 | /* The default cygdrive prefix. */ | |
530 | ||
531 | #define CYGWIN_INFO_CYGDRIVE_DEFAULT_PREFIX "/cygdrive" | |
532 | ||
533 | /* In addition to the above version number strings, the build process adds some | |
534 | strings that may be useful in debugging/identifying a particular Cygwin DLL: | |
535 | ||
536 | The mkvers.sh script at the top level produces a .cc file which initializes | |
537 | a cygwin_version structure based on the above version information and | |
538 | creates a string table for grepping via "grep -F '%%%' cygwinwhatever.dll" | |
539 | if you are using GNU grep. Otherwise you may want to do a | |
540 | "strings cygwinwhatever.dll | grep -F '%%%'" instead. | |
541 | ||
542 | This will produce output such as: | |
543 | ||
544 | %%% Cygwin dll_identifier: cygwin | |
545 | %%% Cygwin api_major: 0 | |
546 | %%% Cygwin api_minor: 0 | |
547 | %%% Cygwin dll_major: 19 | |
548 | %%% Cygwin dll_minor: 6 | |
549 | %%% Cygwin shared_data: 1 | |
550 | %%% Cygwin registry: b15 | |
551 | %%% Cygwin build date: Wed Oct 14 16:26:51 EDT 1998 | |
552 | %%% Cygwin shared id: cygwinS1 | |
553 | ||
554 | This information can also be obtained through a call to | |
555 | cygwin_internal (CW_GETVERSIONINFO). */ | |
556 | ||
557 | #define CYGWIN_VERSION_MAGIC(a, b) ((unsigned) ((((unsigned short) a) << 16) | (unsigned short) b)) | |
558 | #define CYGWIN_VERSION_MAGIC_VERSION(a) ((unsigned) ((unsigned)a & 0xffff)) |