1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177
|
#ifndef _UNISTD_H #define _UNISTD_H 1
#include <features.h>
__BEGIN_DECLS
#ifdef __USE_XOPEN2K8
# define _POSIX_VERSION 200809L #elif defined __USE_XOPEN2K
# define _POSIX_VERSION 200112L #elif defined __USE_POSIX199506
# define _POSIX_VERSION 199506L #elif defined __USE_POSIX199309
# define _POSIX_VERSION 199309L #else
# define _POSIX_VERSION 199009L #endif
#ifdef __USE_XOPEN2K8 # define __POSIX2_THIS_VERSION 200809L
#elif defined __USE_XOPEN2K
# define __POSIX2_THIS_VERSION 200112L #elif defined __USE_POSIX199506
# define __POSIX2_THIS_VERSION 199506L #else
# define __POSIX2_THIS_VERSION 199209L #endif
#define _POSIX2_VERSION __POSIX2_THIS_VERSION
#define _POSIX2_C_VERSION __POSIX2_THIS_VERSION
#define _POSIX2_C_BIND __POSIX2_THIS_VERSION
#define _POSIX2_C_DEV __POSIX2_THIS_VERSION
#define _POSIX2_SW_DEV __POSIX2_THIS_VERSION
#define _POSIX2_LOCALEDEF __POSIX2_THIS_VERSION
#ifdef __USE_XOPEN2K8 # define _XOPEN_VERSION 700 #elif defined __USE_XOPEN2K # define _XOPEN_VERSION 600 #elif defined __USE_UNIX98 # define _XOPEN_VERSION 500 #else # define _XOPEN_VERSION 4 #endif
#define _XOPEN_XCU_VERSION 4
#define _XOPEN_XPG2 1 #define _XOPEN_XPG3 1 #define _XOPEN_XPG4 1
#define _XOPEN_UNIX 1
#define _XOPEN_CRYPT 1
#define _XOPEN_ENH_I18N 1
#define _XOPEN_LEGACY 1
#include <bits/posix_opt.h>
#if defined __USE_UNIX98 || defined __USE_XOPEN2K # include <bits/environments.h> #endif
#define STDIN_FILENO 0 #define STDOUT_FILENO 1 #define STDERR_FILENO 2
#include <bits/types.h>
#ifndef __ssize_t_defined typedef __ssize_t ssize_t; # define __ssize_t_defined #endif
#define __need_size_t #define __need_NULL #include <stddef.h>
#if defined __USE_XOPEN || defined __USE_XOPEN2K
# ifndef __gid_t_defined typedef __gid_t gid_t; # define __gid_t_defined # endif
# ifndef __uid_t_defined typedef __uid_t uid_t; # define __uid_t_defined # endif
# ifndef __off_t_defined # ifndef __USE_FILE_OFFSET64 typedef __off_t off_t; # else typedef __off64_t off_t; # endif # define __off_t_defined # endif # if defined __USE_LARGEFILE64 && !defined __off64_t_defined typedef __off64_t off64_t; # define __off64_t_defined # endif
# ifndef __useconds_t_defined typedef __useconds_t useconds_t; # define __useconds_t_defined # endif
# ifndef __pid_t_defined typedef __pid_t pid_t; # define __pid_t_defined # endif #endif
#if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K # ifndef __intptr_t_defined typedef __intptr_t intptr_t; # define __intptr_t_defined # endif #endif
#if defined __USE_MISC || defined __USE_XOPEN # ifndef __socklen_t_defined typedef __socklen_t socklen_t; # define __socklen_t_defined # endif #endif
#define R_OK 4 #define W_OK 2 #define X_OK 1 #define F_OK 0
extern int access (const char *__name, int __type) __THROW __nonnull ((1));
#ifdef __USE_GNU
extern int euidaccess (const char *__name, int __type) __THROW __nonnull ((1));
extern int eaccess (const char *__name, int __type) __THROW __nonnull ((1)); #endif
#ifdef __USE_ATFILE
extern int faccessat (int __fd, const char *__file, int __type, int __flag) __THROW __nonnull ((2)) __wur; #endif
#ifndef _STDIO_H # define SEEK_SET 0 # define SEEK_CUR 1 # define SEEK_END 2 # ifdef __USE_GNU # define SEEK_DATA 3 # define SEEK_HOLE 4 # endif #endif
#if defined __USE_MISC && !defined L_SET
# define L_SET SEEK_SET # define L_INCR SEEK_CUR # define L_XTND SEEK_END #endif
#ifndef __USE_FILE_OFFSET64 extern __off_t lseek (int __fd, __off_t __offset, int __whence) __THROW; #else # ifdef __REDIRECT_NTH extern __off64_t __REDIRECT_NTH (lseek, (int __fd, __off64_t __offset, int __whence), lseek64); # else # define lseek lseek64 # endif #endif #ifdef __USE_LARGEFILE64 extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence) __THROW; #endif
extern int close (int __fd);
extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur;
extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur;
#if defined __USE_UNIX98 || defined __USE_XOPEN2K8 # ifndef __USE_FILE_OFFSET64
extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset) __wur;
extern ssize_t pwrite (int __fd, const void *__buf, size_t __n, __off_t __offset) __wur; # else # ifdef __REDIRECT extern ssize_t __REDIRECT (pread, (int __fd, void *__buf, size_t __nbytes, __off64_t __offset), pread64) __wur; extern ssize_t __REDIRECT (pwrite, (int __fd, const void *__buf, size_t __nbytes, __off64_t __offset), pwrite64) __wur; # else # define pread pread64 # define pwrite pwrite64 # endif # endif
# ifdef __USE_LARGEFILE64
extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __wur;
extern ssize_t pwrite64 (int __fd, const void *__buf, size_t __n, __off64_t __offset) __wur; # endif #endif
extern int pipe (int __pipedes[2]) __THROW __wur;
#ifdef __USE_GNU
extern int pipe2 (int __pipedes[2], int __flags) __THROW __wur; #endif
extern unsigned int alarm (unsigned int __seconds) __THROW;
extern unsigned int sleep (unsigned int __seconds);
#if (defined __USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K8) \ || defined __USE_MISC
extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) __THROW;
extern int usleep (__useconds_t __useconds); #endif
extern int pause (void);
extern int chown (const char *__file, __uid_t __owner, __gid_t __group) __THROW __nonnull ((1)) __wur;
#if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __THROW __wur;
extern int lchown (const char *__file, __uid_t __owner, __gid_t __group) __THROW __nonnull ((1)) __wur;
#endif
#ifdef __USE_ATFILE
extern int fchownat (int __fd, const char *__file, __uid_t __owner, __gid_t __group, int __flag) __THROW __nonnull ((2)) __wur; #endif
extern int chdir (const char *__path) __THROW __nonnull ((1)) __wur;
#if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
extern int fchdir (int __fd) __THROW __wur; #endif
extern char *getcwd (char *__buf, size_t __size) __THROW __wur;
#ifdef __USE_GNU
extern char *get_current_dir_name (void) __THROW; #endif
#if (defined __USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K8) \ || defined __USE_MISC
extern char *getwd (char *__buf) __THROW __nonnull ((1)) __attribute_deprecated__ __wur; #endif
extern int dup (int __fd) __THROW __wur;
extern int dup2 (int __fd, int __fd2) __THROW;
#ifdef __USE_GNU
extern int dup3 (int __fd, int __fd2, int __flags) __THROW; #endif
extern char **__environ; #ifdef __USE_GNU extern char **environ; #endif
extern int execve (const char *__path, char *const __argv[], char *const __envp[]) __THROW __nonnull ((1, 2));
#ifdef __USE_XOPEN2K8
extern int fexecve (int __fd, char *const __argv[], char *const __envp[]) __THROW __nonnull ((2)); #endif
extern int execv (const char *__path, char *const __argv[]) __THROW __nonnull ((1, 2));
extern int execle (const char *__path, const char *__arg, ...) __THROW __nonnull ((1, 2));
extern int execl (const char *__path, const char *__arg, ...) __THROW __nonnull ((1, 2));
extern int execvp (const char *__file, char *const __argv[]) __THROW __nonnull ((1, 2));
extern int execlp (const char *__file, const char *__arg, ...) __THROW __nonnull ((1, 2));
#ifdef __USE_GNU
extern int execvpe (const char *__file, char *const __argv[], char *const __envp[]) __THROW __nonnull ((1, 2)); #endif
#if defined __USE_MISC || defined __USE_XOPEN
extern int nice (int __inc) __THROW __wur; #endif
extern void _exit (int __status) __attribute__ ((__noreturn__));
#include <bits/confname.h>
extern long int pathconf (const char *__path, int __name) __THROW __nonnull ((1));
extern long int fpathconf (int __fd, int __name) __THROW;
extern long int sysconf (int __name) __THROW;
#ifdef __USE_POSIX2
extern size_t confstr (int __name, char *__buf, size_t __len) __THROW; #endif
extern __pid_t getpid (void) __THROW;
extern __pid_t getppid (void) __THROW;
extern __pid_t getpgrp (void) __THROW;
extern __pid_t __getpgid (__pid_t __pid) __THROW; #if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8 extern __pid_t getpgid (__pid_t __pid) __THROW; #endif
extern int setpgid (__pid_t __pid, __pid_t __pgid) __THROW;
#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED
extern int setpgrp (void) __THROW;
#endif
extern __pid_t setsid (void) __THROW;
#if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
extern __pid_t getsid (__pid_t __pid) __THROW; #endif
extern __uid_t getuid (void) __THROW;
extern __uid_t geteuid (void) __THROW;
extern __gid_t getgid (void) __THROW;
extern __gid_t getegid (void) __THROW;
extern int getgroups (int __size, __gid_t __list[]) __THROW __wur;
#ifdef __USE_GNU
extern int group_member (__gid_t __gid) __THROW; #endif
extern int setuid (__uid_t __uid) __THROW __wur;
#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED
extern int setreuid (__uid_t __ruid, __uid_t __euid) __THROW __wur; #endif
#ifdef __USE_XOPEN2K
extern int seteuid (__uid_t __uid) __THROW __wur; #endif
extern int setgid (__gid_t __gid) __THROW __wur;
#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED
extern int setregid (__gid_t __rgid, __gid_t __egid) __THROW __wur; #endif
#ifdef __USE_XOPEN2K
extern int setegid (__gid_t __gid) __THROW __wur; #endif
#ifdef __USE_GNU
extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid) __THROW;
extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid) __THROW;
extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid) __THROW __wur;
extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid) __THROW __wur; #endif
extern __pid_t fork (void) __THROWNL;
#if (defined __USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K8) \ || defined __USE_MISC
extern __pid_t vfork (void) __THROW; #endif
extern char *ttyname (int __fd) __THROW;
extern int ttyname_r (int __fd, char *__buf, size_t __buflen) __THROW __nonnull ((2)) __wur;
extern int isatty (int __fd) __THROW;
#ifdef __USE_MISC
extern int ttyslot (void) __THROW; #endif
extern int link (const char *__from, const char *__to) __THROW __nonnull ((1, 2)) __wur;
#ifdef __USE_ATFILE
extern int linkat (int __fromfd, const char *__from, int __tofd, const char *__to, int __flags) __THROW __nonnull ((2, 4)) __wur; #endif
#if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K
extern int symlink (const char *__from, const char *__to) __THROW __nonnull ((1, 2)) __wur;
extern ssize_t readlink (const char *__restrict __path, char *__restrict __buf, size_t __len) __THROW __nonnull ((1, 2)) __wur; #endif
#ifdef __USE_ATFILE
extern int symlinkat (const char *__from, int __tofd, const char *__to) __THROW __nonnull ((1, 3)) __wur;
extern ssize_t readlinkat (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len) __THROW __nonnull ((2, 3)) __wur; #endif
extern int unlink (const char *__name) __THROW __nonnull ((1));
#ifdef __USE_ATFILE
extern int unlinkat (int __fd, const char *__name, int __flag) __THROW __nonnull ((2)); #endif
extern int rmdir (const char *__path) __THROW __nonnull ((1));
extern __pid_t tcgetpgrp (int __fd) __THROW;
extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __THROW;
extern char *getlogin (void); #ifdef __USE_POSIX199506
extern int getlogin_r (char *__name, size_t __name_len) __nonnull ((1)); #endif
#ifdef __USE_MISC
extern int setlogin (const char *__name) __THROW __nonnull ((1)); #endif
#ifdef __USE_POSIX2
# include <bits/getopt_posix.h> #endif
#if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K
extern int gethostname (char *__name, size_t __len) __THROW __nonnull ((1)); #endif
#if defined __USE_MISC
extern int sethostname (const char *__name, size_t __len) __THROW __nonnull ((1)) __wur;
extern int sethostid (long int __id) __THROW __wur;
extern int getdomainname (char *__name, size_t __len) __THROW __nonnull ((1)) __wur; extern int setdomainname (const char *__name, size_t __len) __THROW __nonnull ((1)) __wur;
extern int vhangup (void) __THROW;
extern int revoke (const char *__file) __THROW __nonnull ((1)) __wur;
extern int profil (unsigned short int *__sample_buffer, size_t __size, size_t __offset, unsigned int __scale) __THROW __nonnull ((1));
extern int acct (const char *__name) __THROW;
extern char *getusershell (void) __THROW; extern void endusershell (void) __THROW; extern void setusershell (void) __THROW;
extern int daemon (int __nochdir, int __noclose) __THROW __wur; #endif
#if defined __USE_MISC || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
extern int chroot (const char *__path) __THROW __nonnull ((1)) __wur;
extern char *getpass (const char *__prompt) __nonnull ((1)); #endif
extern int fsync (int __fd);
#ifdef __USE_GNU
extern int syncfs (int __fd) __THROW; #endif
#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED
extern long int gethostid (void);
extern void sync (void) __THROW;
# if defined __USE_MISC || !defined __USE_XOPEN2K
extern int getpagesize (void) __THROW __attribute__ ((__const__));
extern int getdtablesize (void) __THROW; # endif
#endif
#if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
# ifndef __USE_FILE_OFFSET64 extern int truncate (const char *__file, __off_t __length) __THROW __nonnull ((1)) __wur; # else # ifdef __REDIRECT_NTH extern int __REDIRECT_NTH (truncate, (const char *__file, __off64_t __length), truncate64) __nonnull ((1)) __wur; # else # define truncate truncate64 # endif # endif # ifdef __USE_LARGEFILE64 extern int truncate64 (const char *__file, __off64_t __length) __THROW __nonnull ((1)) __wur; # endif
#endif
#if defined __USE_POSIX199309 \ || defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K
# ifndef __USE_FILE_OFFSET64 extern int ftruncate (int __fd, __off_t __length) __THROW __wur; # else # ifdef __REDIRECT_NTH extern int __REDIRECT_NTH (ftruncate, (int __fd, __off64_t __length), ftruncate64) __wur; # else # define ftruncate ftruncate64 # endif # endif # ifdef __USE_LARGEFILE64 extern int ftruncate64 (int __fd, __off64_t __length) __THROW __wur; # endif
#endif
#if (defined __USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K) \ || defined __USE_MISC
extern int brk (void *__addr) __THROW __wur;
extern void *sbrk (intptr_t __delta) __THROW; #endif
#ifdef __USE_MISC
extern long int syscall (long int __sysno, ...) __THROW;
#endif
#if (defined __USE_MISC || defined __USE_XOPEN_EXTENDED) && !defined F_LOCK
# define F_ULOCK 0 # define F_LOCK 1 # define F_TLOCK 2 # define F_TEST 3
# ifndef __USE_FILE_OFFSET64 extern int lockf (int __fd, int __cmd, __off_t __len) __wur; # else # ifdef __REDIRECT extern int __REDIRECT (lockf, (int __fd, int __cmd, __off64_t __len), lockf64) __wur; # else # define lockf lockf64 # endif # endif # ifdef __USE_LARGEFILE64 extern int lockf64 (int __fd, int __cmd, __off64_t __len) __wur; # endif #endif
#ifdef __USE_GNU
# define TEMP_FAILURE_RETRY(expression) \ (__extension__ \ ({ long int __result; \ do __result = (long int) (expression); \ while (__result == -1L && errno == EINTR); \ __result; }))
ssize_t copy_file_range (int __infd, __off64_t *__pinoff, int __outfd, __off64_t *__poutoff, size_t __length, unsigned int __flags); #endif
#if defined __USE_POSIX199309 || defined __USE_UNIX98
extern int fdatasync (int __fildes); #endif
#ifdef __USE_XOPEN
extern char *crypt (const char *__key, const char *__salt) __THROW __nonnull ((1, 2));
extern void encrypt (char *__glibc_block, int __edflag) __THROW __nonnull ((1));
extern void swab (const void *__restrict __from, void *__restrict __to, ssize_t __n) __THROW __nonnull ((1, 2)); #endif
#if defined __USE_XOPEN && !defined __USE_XOPEN2K
extern char *ctermid (char *__s) __THROW;
extern char *cuserid (char *__s); #endif
#if defined __USE_UNIX98 && !defined __USE_XOPEN2K extern int pthread_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void)) __THROW; #endif
#ifdef __USE_MISC
int getentropy (void *__buffer, size_t __length) __wur; #endif
#if __USE_FORTIFY_LEVEL > 0 && defined __fortify_function # include <bits/unistd.h> #endif
__END_DECLS
#endif
|