From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Harald Maier Newsgroups: gmane.emacs.bugs,gmane.comp.lib.gnulib.bugs Subject: bug#26398: GNU LIB build fails on macOS 10.12.4 Date: Sat, 8 Apr 2017 10:43:44 +0200 Message-ID: <8AE2BE5E-3FDE-4F7E-9F82-2CB8D8880D95@Maierh.de> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_18766603-28B5-46D9-A702-E0DB051E755B" X-Trace: blaine.gmane.org 1491641119 10592 195.159.176.226 (8 Apr 2017 08:45:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Apr 2017 08:45:19 +0000 (UTC) Cc: Zack Weinberg , Gnulib bugs , 26398@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 08 10:45:14 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwlzX-0001fQ-SH for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Apr 2017 10:45:08 +0200 Original-Received: from localhost ([::1]:53954 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwlzd-0007ei-HW for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Apr 2017 04:45:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwlzW-0007ct-2o for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2017 04:45:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwlzS-00053O-SQ for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2017 04:45:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38861) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cwlzS-00053K-NE for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2017 04:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cwlzS-0006RG-E0 for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2017 04:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Harald Maier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Apr 2017 08:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26398 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26398-submit@debbugs.gnu.org id=B26398.149164105324677 (code B ref 26398); Sat, 08 Apr 2017 08:45:02 +0000 Original-Received: (at 26398) by debbugs.gnu.org; 8 Apr 2017 08:44:13 +0000 Original-Received: from localhost ([127.0.0.1]:37061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwlyf-0006Px-CW for submit@debbugs.gnu.org; Sat, 08 Apr 2017 04:44:13 -0400 Original-Received: from mout.kundenserver.de ([217.72.192.74]:53580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwlye-0006Pl-3e for 26398@debbugs.gnu.org; Sat, 08 Apr 2017 04:44:12 -0400 Original-Received: from ate.fritz.box ([88.217.181.242]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.183]) with ESMTPSA (Nemesis) id 0MFRbQ-1ctSb40Qz6-00EPuK; Sat, 08 Apr 2017 10:43:51 +0200 In-Reply-To: X-Mailer: Apple Mail (2.3273) X-Provags-ID: V03:K0:FDvFQvOt7g0qYS4L+Bk6aLyTEacpEPEdhImWZtHoP9yOPfxanv+ yn4ntuAYPHU/dUckW8gil7AIzUucJwK1KMSDfV/ioULOQfRuODAKXslWLoy+W8h7FBmWhQ8 0NlCdIvnUut2Wt+g6OgsGovcZJ2sWk14HSk0MTkSklTzBGGrKsSbPAY8pw4QEpANeQKvA94 LDZnyga+piaGInchYFtbA== X-UI-Out-Filterresults: notjunk:1;V01:K0:tFiNb52kkm0=:oRxKWhOK/8/UsVICHrfop3 kr2k39PIknEbnWClJW6MPDzhH2rFaicZalda9L4JaLTIHlyrAGHubjITtilXmdowi0ttBDahE zI0N+l/icHs4535pyMqCkgJUHzfCZG8tPxl3Xb2OQIs72EFW3rnVADOmLGlpzaGaZgyLgzypr I8it1Kwng3oQbq5vL4VODGOyDYwG/5VP57Krb7eM1eNGCcxQ08gEiqtLhnbgbHQieOJ8LZ7cS Nbn0twLYUHj9PgrWnZBCujWf3oh4sTIct7Hn8yza2RPPKZVjkx1RzdT/ajrSfQvsENwCZ37FV kqrSqy5KqQItgG1j4On+saAWl5xNEt5W9/ryosRTrdjeQn2p+ny4CDoplEaFIQu/6VJZvbunv i7qgYXTM1N10e5J5M6ni9rC72KWRG9uqWG45ggfDbwbksDAHlkmxEL7PS6PRGfjp0CuhW8/lq L8l8Oq2NV2xDEhugMhUk0OoyQVZMLFLmA0q9HGywwd1MC2iDR6AjxnxBXauXTzYKUPLrTvhcC oXNaG6uK5/A0LFbmoQaOEvE1lBJ0DN0xbe5geYQiUKnO6cfAsRhdYuICP80t2z+6wLlIH3nXF dep25nopVuIm0yGQ34HgXOqfOOxWdsIOECQJ3xILn1S8GoKC/ZTqYkxioD6ZMdGCaUeFzlxMx PARZjLDWznQWbrPevmNOhdWmZRYzt77fu5s3KZJeV9dcfEw84JeWQCxYisPxL/01Kpz0= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:131354 gmane.comp.lib.gnulib.bugs:37036 Archived-At: --Apple-Mail=_18766603-28B5-46D9-A702-E0DB051E755B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 They __THROW and __nonnull are defined in =E2=80=9Egetopt_cdefs.h=E2=80=9C= . The gcc command is gcc -c -MMD -MF deps/fstatat.d -MP -g3 -O2 -I. -I../src -I. = -I./../src fstatat.c The output from -E > Am 08.04.2017 um 10:24 schrieb Paul Eggert : >=20 > [Following up on http://bugs.gnu.org/26398 and CC'ing bug-gnulib and = Zack Weinberg.] >=20 >> In file included from ./unistd.h:135: >> In file included from ./getopt_pfx_core.h:52: >> ./getopt_core.h:91:79: error: expected ';' after top level declarator >> extern int getopt (int ___argc, char *const *___argv, const char = *__shortopts) >=20 > Can you please send the preprocessor output for the failed = compilation? > That is, try running "make V=3D1". If the failed command looks like = this: >=20 > clang -c -Dthis -Dthat -Dtheother fstatat.c >=20 > then run this command: >=20 > clang -E -Dthis -Dthat -Dtheother fstatat.c >fstatat.i >=20 > and send a copy of fstatat.i as an attachment. >=20 > Also, can you find out which .h file defined __THROW and __nonnull in = your environment? I have the sneaking suspicion that it's some .h file = other than getopt_cdefs.h. >=20 > Thanks. --Apple-Mail=_18766603-28B5-46D9-A702-E0DB051E755B Content-Type: multipart/mixed; boundary="Apple-Mail=_C9C84A2B-EBB4-46E4-8205-04B3FD6C817D" --Apple-Mail=_C9C84A2B-EBB4-46E4-8205-04B3FD6C817D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
They __THROW and __nonnull are defined in = =E2=80=9Egetopt_cdefs.h=E2=80=9C.

The gcc command is

gcc -c    -MMD -MF = deps/fstatat.d -MP    -g3 -O2 -I. -I../src -I. -I./../src =  fstatat.c

The output from -E

= --Apple-Mail=_C9C84A2B-EBB4-46E4-8205-04B3FD6C817D Content-Disposition: attachment; filename=fstatat.i Content-Type: application/octet-stream; x-unix-mode=0644; name="fstatat.i" Content-Transfer-Encoding: 7bit # 1 "fstatat.c" # 1 "" 1 # 1 "" 3 # 330 "" 3 # 1 "" 1 # 1 "" 2 # 1 "fstatat.c" 2 # 24 "fstatat.c" # 1 "../src/config.h" 1 # 1975 "../src/config.h" # 1 "../src/conf_post.h" 1 # 32 "../src/conf_post.h" # 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/stdbool.h" 1 3 4 # 33 "../src/conf_post.h" 2 # 56 "../src/conf_post.h" typedef _Bool bool_bf; # 232 "../src/conf_post.h" extern char *emacs_getenv_TZ (void); extern int emacs_setenv_TZ (char const *); # 1976 "../src/config.h" 2 # 25 "fstatat.c" 2 # 1 "./sys/types.h" 1 # 21 "./sys/types.h" 3 # 1 "/usr/include/sys/types.h" 1 3 4 # 72 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/sys/appleapiopts.h" 1 3 4 # 73 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 587 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/_symbol_aliasing.h" 1 3 4 # 588 "/usr/include/sys/cdefs.h" 2 3 4 # 653 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/_posix_availability.h" 1 3 4 # 654 "/usr/include/sys/cdefs.h" 2 3 4 # 76 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/machine/types.h" 1 3 4 # 35 "/usr/include/machine/types.h" 3 4 # 1 "/usr/include/i386/types.h" 1 3 4 # 70 "/usr/include/i386/types.h" 3 4 # 1 "/usr/include/i386/_types.h" 1 3 4 # 37 "/usr/include/i386/_types.h" 3 4 typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef short __int16_t; typedef unsigned short __uint16_t; typedef int __int32_t; typedef unsigned int __uint32_t; typedef long long __int64_t; typedef unsigned long long __uint64_t; typedef long __darwin_intptr_t; typedef unsigned int __darwin_natural_t; # 70 "/usr/include/i386/_types.h" 3 4 typedef int __darwin_ct_rune_t; typedef union { char __mbstate8[128]; long long _mbstateL; } __mbstate_t; typedef __mbstate_t __darwin_mbstate_t; typedef long int __darwin_ptrdiff_t; typedef long unsigned int __darwin_size_t; typedef __builtin_va_list __darwin_va_list; typedef int __darwin_wchar_t; typedef __darwin_wchar_t __darwin_rune_t; typedef int __darwin_wint_t; typedef unsigned long __darwin_clock_t; typedef __uint32_t __darwin_socklen_t; typedef long __darwin_ssize_t; typedef long __darwin_time_t; # 71 "/usr/include/i386/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_int8_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_int8_t.h" 3 4 typedef signed char int8_t; # 77 "/usr/include/i386/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_int16_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_int16_t.h" 3 4 typedef short int16_t; # 78 "/usr/include/i386/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_int32_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_int32_t.h" 3 4 typedef int int32_t; # 79 "/usr/include/i386/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_int64_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_int64_t.h" 3 4 typedef long long int64_t; # 80 "/usr/include/i386/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_u_int8_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_u_int8_t.h" 3 4 typedef unsigned char u_int8_t; # 82 "/usr/include/i386/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_u_int16_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_u_int16_t.h" 3 4 typedef unsigned short u_int16_t; # 83 "/usr/include/i386/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_u_int32_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_u_int32_t.h" 3 4 typedef unsigned int u_int32_t; # 84 "/usr/include/i386/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_u_int64_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_u_int64_t.h" 3 4 typedef unsigned long long u_int64_t; # 85 "/usr/include/i386/types.h" 2 3 4 typedef int64_t register_t; # 1 "/usr/include/sys/_types/_intptr_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_intptr_t.h" 3 4 typedef __darwin_intptr_t intptr_t; # 93 "/usr/include/i386/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_uintptr_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_uintptr_t.h" 3 4 typedef unsigned long uintptr_t; # 94 "/usr/include/i386/types.h" 2 3 4 typedef u_int64_t user_addr_t; typedef u_int64_t user_size_t; typedef int64_t user_ssize_t; typedef int64_t user_long_t; typedef u_int64_t user_ulong_t; typedef int64_t user_time_t; typedef int64_t user_off_t; typedef u_int64_t syscall_arg_t; # 36 "/usr/include/machine/types.h" 2 3 4 # 79 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types.h" 1 3 4 # 33 "/usr/include/sys/_types.h" 3 4 # 1 "/usr/include/machine/_types.h" 1 3 4 # 34 "/usr/include/sys/_types.h" 2 3 4 # 55 "/usr/include/sys/_types.h" 3 4 typedef __int64_t __darwin_blkcnt_t; typedef __int32_t __darwin_blksize_t; typedef __int32_t __darwin_dev_t; typedef unsigned int __darwin_fsblkcnt_t; typedef unsigned int __darwin_fsfilcnt_t; typedef __uint32_t __darwin_gid_t; typedef __uint32_t __darwin_id_t; typedef __uint64_t __darwin_ino64_t; typedef __darwin_ino64_t __darwin_ino_t; typedef __darwin_natural_t __darwin_mach_port_name_t; typedef __darwin_mach_port_name_t __darwin_mach_port_t; typedef __uint16_t __darwin_mode_t; typedef __int64_t __darwin_off_t; typedef __int32_t __darwin_pid_t; typedef __uint32_t __darwin_sigset_t; typedef __int32_t __darwin_suseconds_t; typedef __uint32_t __darwin_uid_t; typedef __uint32_t __darwin_useconds_t; typedef unsigned char __darwin_uuid_t[16]; typedef char __darwin_uuid_string_t[37]; # 1 "/usr/include/sys/_pthread/_pthread_types.h" 1 3 4 # 57 "/usr/include/sys/_pthread/_pthread_types.h" 3 4 struct __darwin_pthread_handler_rec { void (*__routine)(void *); void *__arg; struct __darwin_pthread_handler_rec *__next; }; struct _opaque_pthread_attr_t { long __sig; char __opaque[56]; }; struct _opaque_pthread_cond_t { long __sig; char __opaque[40]; }; struct _opaque_pthread_condattr_t { long __sig; char __opaque[8]; }; struct _opaque_pthread_mutex_t { long __sig; char __opaque[56]; }; struct _opaque_pthread_mutexattr_t { long __sig; char __opaque[8]; }; struct _opaque_pthread_once_t { long __sig; char __opaque[8]; }; struct _opaque_pthread_rwlock_t { long __sig; char __opaque[192]; }; struct _opaque_pthread_rwlockattr_t { long __sig; char __opaque[16]; }; struct _opaque_pthread_t { long __sig; struct __darwin_pthread_handler_rec *__cleanup_stack; char __opaque[8176]; }; typedef struct _opaque_pthread_attr_t __darwin_pthread_attr_t; typedef struct _opaque_pthread_cond_t __darwin_pthread_cond_t; typedef struct _opaque_pthread_condattr_t __darwin_pthread_condattr_t; typedef unsigned long __darwin_pthread_key_t; typedef struct _opaque_pthread_mutex_t __darwin_pthread_mutex_t; typedef struct _opaque_pthread_mutexattr_t __darwin_pthread_mutexattr_t; typedef struct _opaque_pthread_once_t __darwin_pthread_once_t; typedef struct _opaque_pthread_rwlock_t __darwin_pthread_rwlock_t; typedef struct _opaque_pthread_rwlockattr_t __darwin_pthread_rwlockattr_t; typedef struct _opaque_pthread_t *__darwin_pthread_t; # 81 "/usr/include/sys/_types.h" 2 3 4 # 80 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/machine/endian.h" 1 3 4 # 35 "/usr/include/machine/endian.h" 3 4 # 1 "/usr/include/i386/endian.h" 1 3 4 # 99 "/usr/include/i386/endian.h" 3 4 # 1 "/usr/include/sys/_endian.h" 1 3 4 # 130 "/usr/include/sys/_endian.h" 3 4 # 1 "/usr/include/libkern/_OSByteOrder.h" 1 3 4 # 66 "/usr/include/libkern/_OSByteOrder.h" 3 4 # 1 "/usr/include/libkern/i386/_OSByteOrder.h" 1 3 4 # 44 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4 static inline __uint16_t _OSSwapInt16( __uint16_t _data ) { return ((__uint16_t)((_data << 8) | (_data >> 8))); } static inline __uint32_t _OSSwapInt32( __uint32_t _data ) { return __builtin_bswap32(_data); } static inline __uint64_t _OSSwapInt64( __uint64_t _data ) { return __builtin_bswap64(_data); } # 67 "/usr/include/libkern/_OSByteOrder.h" 2 3 4 # 131 "/usr/include/sys/_endian.h" 2 3 4 # 100 "/usr/include/i386/endian.h" 2 3 4 # 36 "/usr/include/machine/endian.h" 2 3 4 # 82 "/usr/include/sys/types.h" 2 3 4 typedef unsigned char u_char; typedef unsigned short u_short; typedef unsigned int u_int; typedef unsigned long u_long; typedef unsigned short ushort; typedef unsigned int uint; typedef u_int64_t u_quad_t; typedef int64_t quad_t; typedef quad_t * qaddr_t; typedef char * caddr_t; typedef int32_t daddr_t; # 1 "/usr/include/sys/_types/_dev_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_dev_t.h" 3 4 typedef __darwin_dev_t dev_t; # 103 "/usr/include/sys/types.h" 2 3 4 typedef u_int32_t fixpt_t; # 1 "/usr/include/sys/_types/_blkcnt_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_blkcnt_t.h" 3 4 typedef __darwin_blkcnt_t blkcnt_t; # 107 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_blksize_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_blksize_t.h" 3 4 typedef __darwin_blksize_t blksize_t; # 108 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_gid_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_gid_t.h" 3 4 typedef __darwin_gid_t gid_t; # 109 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_in_addr_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_in_addr_t.h" 3 4 typedef __uint32_t in_addr_t; # 110 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_in_port_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_in_port_t.h" 3 4 typedef __uint16_t in_port_t; # 111 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_ino_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_ino_t.h" 3 4 typedef __darwin_ino_t ino_t; # 112 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_ino64_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_ino64_t.h" 3 4 typedef __darwin_ino64_t ino64_t; # 115 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_key_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_key_t.h" 3 4 typedef __int32_t key_t; # 118 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_mode_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_mode_t.h" 3 4 typedef __darwin_mode_t mode_t; # 119 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_nlink_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_nlink_t.h" 3 4 typedef __uint16_t nlink_t; # 120 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_id_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_id_t.h" 3 4 typedef __darwin_id_t id_t; # 121 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_pid_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_pid_t.h" 3 4 typedef __darwin_pid_t pid_t; # 122 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_off_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_off_t.h" 3 4 typedef __darwin_off_t off_t; # 123 "/usr/include/sys/types.h" 2 3 4 typedef int32_t segsz_t; typedef int32_t swblk_t; # 1 "/usr/include/sys/_types/_uid_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_uid_t.h" 3 4 typedef __darwin_uid_t uid_t; # 128 "/usr/include/sys/types.h" 2 3 4 # 161 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/sys/_types/_clock_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_clock_t.h" 3 4 typedef __darwin_clock_t clock_t; # 162 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_size_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_size_t.h" 3 4 typedef __darwin_size_t size_t; # 163 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_ssize_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_ssize_t.h" 3 4 typedef __darwin_ssize_t ssize_t; # 164 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_time_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_time_t.h" 3 4 typedef __darwin_time_t time_t; # 165 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_useconds_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_useconds_t.h" 3 4 typedef __darwin_useconds_t useconds_t; # 167 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_suseconds_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_suseconds_t.h" 3 4 typedef __darwin_suseconds_t suseconds_t; # 168 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_rsize_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_rsize_t.h" 3 4 typedef __darwin_size_t rsize_t; # 171 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_errno_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_errno_t.h" 3 4 typedef int errno_t; # 172 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_fd_def.h" 1 3 4 # 46 "/usr/include/sys/_types/_fd_def.h" 3 4 typedef struct fd_set { __int32_t fds_bits[((((1024) % ((sizeof(__int32_t) * 8))) == 0) ? ((1024) / ((sizeof(__int32_t) * 8))) : (((1024) / ((sizeof(__int32_t) * 8))) + 1))]; } fd_set; static __inline int __darwin_fd_isset(int _n, const struct fd_set *_p) { return (_p->fds_bits[(unsigned long)_n/(sizeof(__int32_t) * 8)] & ((__int32_t)(((unsigned long)1)<<((unsigned long)_n % (sizeof(__int32_t) * 8))))); } # 181 "/usr/include/sys/types.h" 2 3 4 typedef __int32_t fd_mask; # 1 "/usr/include/sys/_types/_fd_setsize.h" 1 3 4 # 194 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_fd_set.h" 1 3 4 # 195 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_fd_clr.h" 1 3 4 # 196 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_fd_zero.h" 1 3 4 # 197 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_fd_isset.h" 1 3 4 # 198 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_fd_copy.h" 1 3 4 # 201 "/usr/include/sys/types.h" 2 3 4 # 211 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/sys/_pthread/_pthread_attr_t.h" 1 3 4 # 30 "/usr/include/sys/_pthread/_pthread_attr_t.h" 3 4 typedef __darwin_pthread_attr_t pthread_attr_t; # 212 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_pthread/_pthread_cond_t.h" 1 3 4 # 30 "/usr/include/sys/_pthread/_pthread_cond_t.h" 3 4 typedef __darwin_pthread_cond_t pthread_cond_t; # 213 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_pthread/_pthread_condattr_t.h" 1 3 4 # 30 "/usr/include/sys/_pthread/_pthread_condattr_t.h" 3 4 typedef __darwin_pthread_condattr_t pthread_condattr_t; # 214 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_pthread/_pthread_mutex_t.h" 1 3 4 # 30 "/usr/include/sys/_pthread/_pthread_mutex_t.h" 3 4 typedef __darwin_pthread_mutex_t pthread_mutex_t; # 215 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_pthread/_pthread_mutexattr_t.h" 1 3 4 # 30 "/usr/include/sys/_pthread/_pthread_mutexattr_t.h" 3 4 typedef __darwin_pthread_mutexattr_t pthread_mutexattr_t; # 216 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_pthread/_pthread_once_t.h" 1 3 4 # 30 "/usr/include/sys/_pthread/_pthread_once_t.h" 3 4 typedef __darwin_pthread_once_t pthread_once_t; # 217 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_pthread/_pthread_rwlock_t.h" 1 3 4 # 30 "/usr/include/sys/_pthread/_pthread_rwlock_t.h" 3 4 typedef __darwin_pthread_rwlock_t pthread_rwlock_t; # 218 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_pthread/_pthread_rwlockattr_t.h" 1 3 4 # 30 "/usr/include/sys/_pthread/_pthread_rwlockattr_t.h" 3 4 typedef __darwin_pthread_rwlockattr_t pthread_rwlockattr_t; # 219 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_pthread/_pthread_t.h" 1 3 4 # 30 "/usr/include/sys/_pthread/_pthread_t.h" 3 4 typedef __darwin_pthread_t pthread_t; # 220 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_pthread/_pthread_key_t.h" 1 3 4 # 30 "/usr/include/sys/_pthread/_pthread_key_t.h" 3 4 typedef __darwin_pthread_key_t pthread_key_t; # 224 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_fsblkcnt_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_fsblkcnt_t.h" 3 4 typedef __darwin_fsblkcnt_t fsblkcnt_t; # 229 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/_types/_fsfilcnt_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_fsfilcnt_t.h" 3 4 typedef __darwin_fsfilcnt_t fsfilcnt_t; # 230 "/usr/include/sys/types.h" 2 3 4 # 29 "./sys/types.h" 2 3 # 28 "fstatat.c" 2 # 1 "./sys/stat.h" 1 # 26 "./sys/stat.h" 3 # 1 "/usr/include/sys/stat.h" 1 3 4 # 75 "/usr/include/sys/stat.h" 3 4 # 1 "/usr/include/Availability.h" 1 3 4 # 190 "/usr/include/Availability.h" 3 4 # 1 "/usr/include/AvailabilityInternal.h" 1 3 4 # 191 "/usr/include/Availability.h" 2 3 4 # 76 "/usr/include/sys/stat.h" 2 3 4 # 1 "/usr/include/sys/_types/_timespec.h" 1 3 4 # 30 "/usr/include/sys/_types/_timespec.h" 3 4 struct timespec { __darwin_time_t tv_sec; long tv_nsec; }; # 79 "/usr/include/sys/stat.h" 2 3 4 # 110 "/usr/include/sys/stat.h" 3 4 struct ostat { __uint16_t st_dev; ino_t st_ino; mode_t st_mode; nlink_t st_nlink; __uint16_t st_uid; __uint16_t st_gid; __uint16_t st_rdev; __int32_t st_size; struct timespec st_atimespec; struct timespec st_mtimespec; struct timespec st_ctimespec; __int32_t st_blksize; __int32_t st_blocks; __uint32_t st_flags; __uint32_t st_gen; }; # 182 "/usr/include/sys/stat.h" 3 4 struct stat { dev_t st_dev; mode_t st_mode; nlink_t st_nlink; __darwin_ino64_t st_ino; uid_t st_uid; gid_t st_gid; dev_t st_rdev; struct timespec st_atimespec; struct timespec st_mtimespec; struct timespec st_ctimespec; struct timespec st_birthtimespec; off_t st_size; blkcnt_t st_blocks; blksize_t st_blksize; __uint32_t st_flags; __uint32_t st_gen; __int32_t st_lspare; __int64_t st_qspare[2]; }; # 221 "/usr/include/sys/stat.h" 3 4 struct stat64 { dev_t st_dev; mode_t st_mode; nlink_t st_nlink; __darwin_ino64_t st_ino; uid_t st_uid; gid_t st_gid; dev_t st_rdev; struct timespec st_atimespec; struct timespec st_mtimespec; struct timespec st_ctimespec; struct timespec st_birthtimespec; off_t st_size; blkcnt_t st_blocks; blksize_t st_blksize; __uint32_t st_flags; __uint32_t st_gen; __int32_t st_lspare; __int64_t st_qspare[2]; }; # 241 "/usr/include/sys/stat.h" 3 4 # 1 "/usr/include/sys/_types/_s_ifmt.h" 1 3 4 # 242 "/usr/include/sys/stat.h" 2 3 4 # 352 "/usr/include/sys/stat.h" 3 4 int chmod(const char *, mode_t) __asm("_" "chmod" ); int fchmod(int, mode_t) __asm("_" "fchmod" ); int fstat(int, struct stat *) __asm("_" "fstat" "$INODE64"); int lstat(const char *, struct stat *) __asm("_" "lstat" "$INODE64"); int mkdir(const char *, mode_t); int mkfifo(const char *, mode_t); int stat(const char *, struct stat *) __asm("_" "stat" "$INODE64"); int mknod(const char *, mode_t, dev_t); mode_t umask(mode_t); int fchmodat(int, const char *, mode_t, int) __attribute__((availability(macosx,introduced=10.10))); int fstatat(int, const char *, struct stat *, int) __asm("_" "fstatat" "$INODE64") __attribute__((availability(macosx,introduced=10.10))); int mkdirat(int, const char *, mode_t) __attribute__((availability(macosx,introduced=10.10))); # 1 "/usr/include/sys/_types/_filesec_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_filesec_t.h" 3 4 struct _filesec; typedef struct _filesec *filesec_t; # 371 "/usr/include/sys/stat.h" 2 3 4 int chflags(const char *, __uint32_t); int chmodx_np(const char *, filesec_t); int fchflags(int, __uint32_t); int fchmodx_np(int, filesec_t); int fstatx_np(int, struct stat *, filesec_t) __asm("_" "fstatx_np" "$INODE64"); int lchflags(const char *, __uint32_t) __attribute__((availability(macosx,introduced=10.5))); int lchmod(const char *, mode_t) __attribute__((availability(macosx,introduced=10.5))); int lstatx_np(const char *, struct stat *, filesec_t) __asm("_" "lstatx_np" "$INODE64"); int mkdirx_np(const char *, filesec_t); int mkfifox_np(const char *, filesec_t); int statx_np(const char *, struct stat *, filesec_t) __asm("_" "statx_np" "$INODE64"); int umaskx_np(filesec_t) __attribute__((availability(macosx,introduced=10.4,deprecated=10.6))); int fstatx64_np(int, struct stat64 *, filesec_t) __attribute__((availability(macosx,introduced=10.5,deprecated=10.6))); int lstatx64_np(const char *, struct stat64 *, filesec_t) __attribute__((availability(macosx,introduced=10.5,deprecated=10.6))); int statx64_np(const char *, struct stat64 *, filesec_t) __attribute__((availability(macosx,introduced=10.5,deprecated=10.6))); int fstat64(int, struct stat64 *) __attribute__((availability(macosx,introduced=10.5,deprecated=10.6))); int lstat64(const char *, struct stat64 *) __attribute__((availability(macosx,introduced=10.5,deprecated=10.6))); int stat64(const char *, struct stat64 *) __attribute__((availability(macosx,introduced=10.5,deprecated=10.6))); # 33 "./sys/stat.h" 2 3 # 29 "fstatat.c" 2 static int orig_fstatat (int fd, char const *filename, struct stat *buf, int flags) { return fstatat (fd, filename, buf, flags); } # 1 "./sys/stat.h" 1 # 26 "./sys/stat.h" 3 # 41 "./sys/stat.h" 3 # 1 "./sys/types.h" 1 3 # 21 "./sys/types.h" 3 # 42 "./sys/stat.h" 2 3 # 1 "./time.h" 1 3 # 21 "./time.h" 3 # 41 "./time.h" 3 # 1 "/usr/include/time.h" 1 3 4 # 66 "/usr/include/time.h" 3 4 # 1 "/usr/include/_types.h" 1 3 4 # 39 "/usr/include/_types.h" 3 4 typedef int __darwin_nl_item; typedef int __darwin_wctrans_t; typedef __uint32_t __darwin_wctype_t; # 67 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/sys/_types/_null.h" 1 3 4 # 70 "/usr/include/time.h" 2 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long tm_gmtoff; char *tm_zone; }; # 97 "/usr/include/time.h" 3 4 extern char *tzname[]; extern int getdate_err; extern long timezone __asm("_" "timezone" ); extern int daylight; char *asctime(const struct tm *); clock_t clock(void) __asm("_" "clock" ); char *ctime(const time_t *); double difftime(time_t, time_t); struct tm *getdate(const char *); struct tm *gmtime(const time_t *); struct tm *localtime(const time_t *); time_t mktime(struct tm *) __asm("_" "mktime" ); size_t strftime(char * __restrict, size_t, const char * __restrict, const struct tm * __restrict) __asm("_" "strftime" ); char *strptime(const char * __restrict, const char * __restrict, struct tm * __restrict) __asm("_" "strptime" ); time_t time(time_t *); void tzset(void); char *asctime_r(const struct tm * __restrict, char * __restrict); char *ctime_r(const time_t *, char *); struct tm *gmtime_r(const time_t * __restrict, struct tm * __restrict); struct tm *localtime_r(const time_t * __restrict, struct tm * __restrict); time_t posix2time(time_t); void tzsetwall(void); time_t time2posix(time_t); time_t timelocal(struct tm * const); time_t timegm(struct tm * const); int nanosleep(const struct timespec *__rqtp, struct timespec *__rmtp) __asm("_" "nanosleep" ); # 152 "/usr/include/time.h" 3 4 typedef enum { _CLOCK_REALTIME __attribute__((availability(macosx,introduced=10.12))) __attribute__((availability(ios,introduced=10.0))) __attribute__((availability(tvos,introduced=10.0))) __attribute__((availability(watchos,introduced=3.0))) = 0, _CLOCK_MONOTONIC __attribute__((availability(macosx,introduced=10.12))) __attribute__((availability(ios,introduced=10.0))) __attribute__((availability(tvos,introduced=10.0))) __attribute__((availability(watchos,introduced=3.0))) = 6, _CLOCK_MONOTONIC_RAW __attribute__((availability(macosx,introduced=10.12))) __attribute__((availability(ios,introduced=10.0))) __attribute__((availability(tvos,introduced=10.0))) __attribute__((availability(watchos,introduced=3.0))) = 4, _CLOCK_MONOTONIC_RAW_APPROX __attribute__((availability(macosx,introduced=10.12))) __attribute__((availability(ios,introduced=10.0))) __attribute__((availability(tvos,introduced=10.0))) __attribute__((availability(watchos,introduced=3.0))) = 5, _CLOCK_UPTIME_RAW __attribute__((availability(macosx,introduced=10.12))) __attribute__((availability(ios,introduced=10.0))) __attribute__((availability(tvos,introduced=10.0))) __attribute__((availability(watchos,introduced=3.0))) = 8, _CLOCK_UPTIME_RAW_APPROX __attribute__((availability(macosx,introduced=10.12))) __attribute__((availability(ios,introduced=10.0))) __attribute__((availability(tvos,introduced=10.0))) __attribute__((availability(watchos,introduced=3.0))) = 9, _CLOCK_PROCESS_CPUTIME_ID __attribute__((availability(macosx,introduced=10.12))) __attribute__((availability(ios,introduced=10.0))) __attribute__((availability(tvos,introduced=10.0))) __attribute__((availability(watchos,introduced=3.0))) = 12, _CLOCK_THREAD_CPUTIME_ID __attribute__((availability(macosx,introduced=10.12))) __attribute__((availability(ios,introduced=10.0))) __attribute__((availability(tvos,introduced=10.0))) __attribute__((availability(watchos,introduced=3.0))) = 16 } clockid_t; __attribute__((availability(macosx,introduced=10.12))) __attribute__((availability(ios,introduced=10.0))) __attribute__((availability(tvos,introduced=10.0))) __attribute__((availability(watchos,introduced=3.0))) int clock_getres(clockid_t __clock_id, struct timespec *__res); __attribute__((availability(macosx,introduced=10.12))) __attribute__((availability(ios,introduced=10.0))) __attribute__((availability(tvos,introduced=10.0))) __attribute__((availability(watchos,introduced=3.0))) int clock_gettime(clockid_t __clock_id, struct timespec *__tp); __attribute__((availability(macosx,introduced=10.12))) __attribute__((availability(ios,introduced=10.0))) __attribute__((availability(tvos,introduced=10.0))) __attribute__((availability(watchos,introduced=3.0))) __uint64_t clock_gettime_nsec_np(clockid_t __clock_id); __attribute__((availability(macosx,introduced=10.12))) __attribute__((availability(ios,unavailable))) __attribute__((availability(tvos,unavailable))) __attribute__((availability(watchos,unavailable))) int clock_settime(clockid_t __clock_id, const struct timespec *__tp); # 42 "./time.h" 2 3 # 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/stddef.h" 1 3 4 # 51 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/stddef.h" 3 4 typedef long int ptrdiff_t; # 90 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/stddef.h" 3 4 typedef int wchar_t; # 118 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/stddef.h" 3 4 # 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/__stddef_max_align_t.h" 1 3 4 # 32 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/__stddef_max_align_t.h" 3 4 typedef long double max_align_t; # 119 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/stddef.h" 2 3 4 # 45 "./time.h" 2 3 # 544 "./time.h" 3 struct __time_t_must_be_integral { unsigned int __floating_time_t_unsupported : (time_t) 1; }; # 581 "./time.h" 3 extern time_t rpl_mktime (struct tm *__tp) __attribute__ ((__nonnull__ (1))); extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 609 "./time.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 631 "./time.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 652 "./time.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 667 "./time.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 689 "./time.h" 3 typedef struct tm_zone *timezone_t; extern timezone_t tzalloc (char const *__name); extern int _gl_cxxalias_dummy; extern void tzfree (timezone_t __tz); extern int _gl_cxxalias_dummy; extern struct tm * localtime_rz (timezone_t __tz, time_t const *restrict __timer, struct tm *restrict __result) __attribute__ ((__nonnull__ (2, 3))); extern int _gl_cxxalias_dummy; extern time_t mktime_z (timezone_t __tz, struct tm *restrict __result) __attribute__ ((__nonnull__ (2))); extern int _gl_cxxalias_dummy; # 714 "./time.h" 3 extern time_t rpl_timegm (struct tm *__tm) __attribute__ ((__nonnull__ (1))); extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 45 "./sys/stat.h" 2 3 # 1 "./sys/stat.h" 1 3 # 26 "./sys/stat.h" 3 # 41 "./sys/stat.h" 3 # 1 "./sys/types.h" 1 3 # 21 "./sys/types.h" 3 # 42 "./sys/stat.h" 2 3 # 1 "./time.h" 1 3 # 21 "./time.h" 3 # 45 "./sys/stat.h" 2 3 # 818 "./sys/stat.h" 3 extern int rpl_fstatat (int fd, char const *name, struct stat *st, int flags) __attribute__ ((__nonnull__ (2, 3))); extern int _gl_cxxalias_dummy; # 832 "./sys/stat.h" 3 extern int _gl_cxxalias_dummy; # 922 "./sys/stat.h" 3 extern int rpl_lstat (const char *name, struct stat *buf) __attribute__ ((__nonnull__ (1, 2))); extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 969 "./sys/stat.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1134 "./sys/stat.h" 3 extern int rpl_stat (const char *name, struct stat *buf) __attribute__ ((__nonnull__ (1, 2))); # 48 "./sys/stat.h" 2 3 # 43 "fstatat.c" 2 # 1 "/usr/include/errno.h" 1 3 4 # 23 "/usr/include/errno.h" 3 4 # 1 "/usr/include/sys/errno.h" 1 3 4 # 80 "/usr/include/sys/errno.h" 3 4 extern int * __error(void); # 24 "/usr/include/errno.h" 2 3 4 # 45 "fstatat.c" 2 # 1 "./fcntl.h" 1 # 23 "./fcntl.h" 3 # 50 "./fcntl.h" 3 # 1 "./sys/types.h" 1 3 # 21 "./sys/types.h" 3 # 51 "./fcntl.h" 2 3 # 1 "./sys/stat.h" 1 3 # 26 "./sys/stat.h" 3 # 59 "./fcntl.h" 2 3 # 1 "/usr/include/fcntl.h" 1 3 4 # 23 "/usr/include/fcntl.h" 3 4 # 1 "/usr/include/sys/fcntl.h" 1 3 4 # 116 "/usr/include/sys/fcntl.h" 3 4 # 1 "/usr/include/sys/_types/_o_sync.h" 1 3 4 # 117 "/usr/include/sys/fcntl.h" 2 3 4 # 157 "/usr/include/sys/fcntl.h" 3 4 # 1 "/usr/include/sys/_types/_o_dsync.h" 1 3 4 # 158 "/usr/include/sys/fcntl.h" 2 3 4 # 310 "/usr/include/sys/fcntl.h" 3 4 # 1 "/usr/include/sys/_types/_seek_set.h" 1 3 4 # 311 "/usr/include/sys/fcntl.h" 2 3 4 # 335 "/usr/include/sys/fcntl.h" 3 4 struct flock { off_t l_start; off_t l_len; pid_t l_pid; short l_type; short l_whence; }; # 350 "/usr/include/sys/fcntl.h" 3 4 struct flocktimeout { struct flock fl; struct timespec timeout; }; # 363 "/usr/include/sys/fcntl.h" 3 4 struct radvisory { off_t ra_offset; int ra_count; }; typedef struct fcodeblobs { void *f_cd_hash; size_t f_hash_size; void *f_cd_buffer; size_t f_cd_size; unsigned int *f_out_size; int f_arch; int __padding; } fcodeblobs_t; # 387 "/usr/include/sys/fcntl.h" 3 4 typedef struct fsignatures { off_t fs_file_start; void *fs_blob_start; size_t fs_blob_size; } fsignatures_t; # 403 "/usr/include/sys/fcntl.h" 3 4 typedef struct fchecklv { off_t lv_file_start; size_t lv_error_message_size; void *lv_error_message; } fchecklv_t; # 419 "/usr/include/sys/fcntl.h" 3 4 typedef struct fstore { unsigned int fst_flags; int fst_posmode; off_t fst_offset; off_t fst_length; off_t fst_bytesalloc; } fstore_t; typedef struct fpunchhole { unsigned int fp_flags; unsigned int reserved; off_t fp_offset; off_t fp_length; } fpunchhole_t; typedef struct ftrimactivefile { off_t fta_offset; off_t fta_length; } ftrimactivefile_t; typedef struct fbootstraptransfer { off_t fbt_offset; size_t fbt_length; void *fbt_buffer; } fbootstraptransfer_t; # 471 "/usr/include/sys/fcntl.h" 3 4 #pragma pack(4) struct log2phys { unsigned int l2p_flags; off_t l2p_contigbytes; off_t l2p_devoffset; }; #pragma pack() # 496 "/usr/include/sys/fcntl.h" 3 4 typedef enum { FILESEC_OWNER = 1, FILESEC_GROUP = 2, FILESEC_UUID = 3, FILESEC_MODE = 4, FILESEC_ACL = 5, FILESEC_GRPUUID = 6, FILESEC_ACL_RAW = 100, FILESEC_ACL_ALLOCSIZE = 101 } filesec_property_t; int open(const char *, int, ...) __asm("_" "open" ); int openat(int, const char *, int, ...) __asm("_" "openat" ) __attribute__((availability(macosx,introduced=10.10))); int creat(const char *, mode_t) __asm("_" "creat" ); int fcntl(int, int, ...) __asm("_" "fcntl" ); int openx_np(const char *, int, filesec_t); int open_dprotected_np ( const char *, int, int, int, ...); int flock(int, int); filesec_t filesec_init(void); filesec_t filesec_dup(filesec_t); void filesec_free(filesec_t); int filesec_get_property(filesec_t, filesec_property_t, void *); int filesec_query_property(filesec_t, filesec_property_t, int *); int filesec_set_property(filesec_t, filesec_property_t, const void *); int filesec_unset_property(filesec_t, filesec_property_t) __attribute__((availability(macosx,introduced=10.6))); # 24 "/usr/include/fcntl.h" 2 3 4 # 62 "./fcntl.h" 2 3 # 1 "./unistd.h" 1 3 # 22 "./unistd.h" 3 # 40 "./unistd.h" 3 # 1 "/usr/include/unistd.h" 1 3 4 # 72 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/sys/unistd.h" 1 3 4 # 84 "/usr/include/sys/unistd.h" 3 4 # 1 "/usr/include/sys/_types/_posix_vdisable.h" 1 3 4 # 85 "/usr/include/sys/unistd.h" 2 3 4 # 122 "/usr/include/sys/unistd.h" 3 4 # 1 "/usr/include/sys/_types/_seek_set.h" 1 3 4 # 123 "/usr/include/sys/unistd.h" 2 3 4 # 132 "/usr/include/sys/unistd.h" 3 4 struct accessx_descriptor { unsigned int ad_name_offset; int ad_flags; int ad_pad[2]; }; # 181 "/usr/include/sys/unistd.h" 3 4 # 1 "/usr/include/_types/_uint64_t.h" 1 3 4 # 31 "/usr/include/_types/_uint64_t.h" 3 4 typedef unsigned long long uint64_t; # 182 "/usr/include/sys/unistd.h" 2 3 4 int getattrlistbulk(int, void *, void *, size_t, uint64_t) __attribute__((availability(macosx,introduced=10.10))); # 204 "/usr/include/sys/unistd.h" 3 4 int faccessat(int, const char *, int, int) __attribute__((availability(macosx,introduced=10.10))); int fchownat(int, const char *, uid_t, gid_t, int) __attribute__((availability(macosx,introduced=10.10))); int linkat(int, const char *, int, const char *, int) __attribute__((availability(macosx,introduced=10.10))); ssize_t readlinkat(int, const char *, char *, size_t) __attribute__((availability(macosx,introduced=10.10))); int symlinkat(const char *, int, const char *) __attribute__((availability(macosx,introduced=10.10))); int unlinkat(int, const char *, int) __attribute__((availability(macosx,introduced=10.10))); int getattrlistat(int, const char *, void *, void *, size_t, unsigned long) __attribute__((availability(macosx,introduced=10.10))); # 73 "/usr/include/unistd.h" 2 3 4 # 429 "/usr/include/unistd.h" 3 4 void _exit(int) __attribute__((noreturn)); int access(const char *, int); unsigned int alarm(unsigned int); int chdir(const char *); int chown(const char *, uid_t, gid_t); int close(int) __asm("_" "close" ); int dup(int); int dup2(int, int); int execl(const char * __path, const char * __arg0, ...) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))); int execle(const char * __path, const char * __arg0, ...) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))); int execlp(const char * __file, const char * __arg0, ...) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))); int execv(const char * __path, char * const * __argv) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))); int execve(const char * __file, char * const * __argv, char * const * __envp) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))); int execvp(const char * __file, char * const * __argv) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))); pid_t fork(void) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))); long fpathconf(int, int); char *getcwd(char *, size_t); gid_t getegid(void); uid_t geteuid(void); gid_t getgid(void); int getgroups(int, gid_t []) __asm("_" "getgroups" "$DARWIN_EXTSN"); char *getlogin(void); pid_t getpgrp(void); pid_t getpid(void); pid_t getppid(void); uid_t getuid(void); int isatty(int); int link(const char *, const char *); off_t lseek(int, off_t, int); long pathconf(const char *, int); int pause(void) __asm("_" "pause" ); int pipe(int [2]); ssize_t read(int, void *, size_t) __asm("_" "read" ); int rmdir(const char *); int setgid(gid_t); int setpgid(pid_t, pid_t); pid_t setsid(void); int setuid(uid_t); unsigned int sleep(unsigned int) __asm("_" "sleep" ); long sysconf(int); pid_t tcgetpgrp(int); int tcsetpgrp(int, pid_t); char *ttyname(int); int ttyname_r(int, char *, size_t) __asm("_" "ttyname_r" ); int unlink(const char *); ssize_t write(int __fd, const void * __buf, size_t __nbyte) __asm("_" "write" ); # 506 "/usr/include/unistd.h" 3 4 size_t confstr(int, char *, size_t) __asm("_" "confstr" ); int getopt(int, char * const [], const char *) __asm("_" "getopt" ); extern char *optarg; extern int optind, opterr, optopt; # 536 "/usr/include/unistd.h" 3 4 __attribute__((deprecated)) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))) void *brk(const void *); int chroot(const char *) ; char *crypt(const char *, const char *); char *ctermid(char *); void encrypt(char *, int) __asm("_" "encrypt" ); int fchdir(int); long gethostid(void); pid_t getpgid(pid_t); pid_t getsid(pid_t); int getdtablesize(void) ; int getpagesize(void) __attribute__((const)) ; char *getpass(const char *) ; char *getwd(char *) ; int lchown(const char *, uid_t, gid_t) __asm("_" "lchown" ); int lockf(int, int, off_t) __asm("_" "lockf" ); int nice(int) __asm("_" "nice" ); ssize_t pread(int __fd, void * __buf, size_t __nbyte, off_t __offset) __asm("_" "pread" ); ssize_t pwrite(int __fd, const void * __buf, size_t __nbyte, off_t __offset) __asm("_" "pwrite" ); __attribute__((deprecated)) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))) void *sbrk(int); pid_t setpgrp(void) __asm("_" "setpgrp" ); int setregid(gid_t, gid_t) __asm("_" "setregid" ); int setreuid(uid_t, uid_t) __asm("_" "setreuid" ); void swab(const void * __restrict, void * __restrict, ssize_t); void sync(void); int truncate(const char *, off_t); useconds_t ualarm(useconds_t, useconds_t); int usleep(useconds_t) __asm("_" "usleep" ); pid_t fork(void) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))); int fsync(int) __asm("_" "fsync" ); int ftruncate(int, off_t); int getlogin_r(char *, size_t); # 624 "/usr/include/unistd.h" 3 4 int fchown(int, uid_t, gid_t); int gethostname(char *, size_t); ssize_t readlink(const char * __restrict, char * __restrict, size_t); int setegid(gid_t); int seteuid(uid_t); int symlink(const char *, const char *); # 638 "/usr/include/unistd.h" 3 4 # 1 "./sys/select.h" 1 3 4 # 20 "./sys/select.h" 3 # 77 "./sys/select.h" 3 # 1 "./sys/types.h" 1 3 # 21 "./sys/types.h" 3 # 78 "./sys/select.h" 2 3 # 88 "./sys/select.h" 3 # 1 "./sys/time.h" 1 3 # 25 "./sys/time.h" 3 # 39 "./sys/time.h" 3 # 1 "/usr/include/sys/time.h" 1 3 4 # 77 "/usr/include/sys/time.h" 3 4 # 1 "/usr/include/sys/_types/_timeval.h" 1 3 4 # 30 "/usr/include/sys/_types/_timeval.h" 3 4 struct timeval { __darwin_time_t tv_sec; __darwin_suseconds_t tv_usec; }; # 78 "/usr/include/sys/time.h" 2 3 4 # 1 "/usr/include/sys/_types/_timeval64.h" 1 3 4 # 31 "/usr/include/sys/_types/_timeval64.h" 3 4 struct timeval64 { __int64_t tv_sec; __int64_t tv_usec; }; # 81 "/usr/include/sys/time.h" 2 3 4 # 91 "/usr/include/sys/time.h" 3 4 struct itimerval { struct timeval it_interval; struct timeval it_value; }; # 129 "/usr/include/sys/time.h" 3 4 struct timezone { int tz_minuteswest; int tz_dsttime; }; # 172 "/usr/include/sys/time.h" 3 4 struct clockinfo { int hz; int tick; int tickadj; int stathz; int profhz; }; # 1 "./time.h" 1 3 4 # 21 "./time.h" 3 # 184 "/usr/include/sys/time.h" 2 3 4 int adjtime(const struct timeval *, struct timeval *); int futimes(int, const struct timeval *); int lutimes(const char *, const struct timeval *) __attribute__((availability(macosx,introduced=10.5))); int settimeofday(const struct timeval *, const struct timezone *); int getitimer(int, struct itimerval *); int gettimeofday(struct timeval * __restrict, void * __restrict); # 1 "/usr/include/sys/_select.h" 1 3 4 # 39 "/usr/include/sys/_select.h" 3 4 int select(int, fd_set * __restrict, fd_set * __restrict, fd_set * __restrict, struct timeval * __restrict) __asm("_" "select" "$DARWIN_EXTSN" ) ; # 199 "/usr/include/sys/time.h" 2 3 4 int setitimer(int, const struct itimerval * __restrict, struct itimerval * __restrict); int utimes(const char *, const struct timeval *); # 40 "./sys/time.h" 2 3 # 560 "./sys/time.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 89 "./sys/select.h" 2 3 # 100 "./sys/select.h" 3 # 1 "/usr/include/sys/select.h" 1 3 4 # 86 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/sys/_types/_sigset_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_sigset_t.h" 3 4 typedef __darwin_sigset_t sigset_t; # 87 "/usr/include/sys/select.h" 2 3 4 # 114 "/usr/include/sys/select.h" 3 4 int pselect(int, fd_set * __restrict, fd_set * __restrict, fd_set * __restrict, const struct timespec * __restrict, const sigset_t * __restrict) __asm("_" "pselect" "$DARWIN_EXTSN" ) ; # 101 "./sys/select.h" 2 3 # 110 "./sys/select.h" 3 # 1 "./signal.h" 1 3 # 21 "./signal.h" 3 # 49 "./signal.h" 3 # 1 "./sys/types.h" 1 3 # 21 "./sys/types.h" 3 # 50 "./signal.h" 2 3 # 1 "/usr/include/signal.h" 1 3 4 # 63 "/usr/include/signal.h" 3 4 # 1 "/usr/include/sys/signal.h" 1 3 4 # 82 "/usr/include/sys/signal.h" 3 4 # 1 "/usr/include/machine/signal.h" 1 3 4 # 32 "/usr/include/machine/signal.h" 3 4 # 1 "/usr/include/i386/signal.h" 1 3 4 # 39 "/usr/include/i386/signal.h" 3 4 typedef int sig_atomic_t; # 33 "/usr/include/machine/signal.h" 2 3 4 # 83 "/usr/include/sys/signal.h" 2 3 4 # 146 "/usr/include/sys/signal.h" 3 4 # 1 "/usr/include/machine/_mcontext.h" 1 3 4 # 29 "/usr/include/machine/_mcontext.h" 3 4 # 1 "/usr/include/i386/_mcontext.h" 1 3 4 # 33 "/usr/include/i386/_mcontext.h" 3 4 # 1 "/usr/include/mach/i386/_structs.h" 1 3 4 # 43 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_i386_thread_state { unsigned int __eax; unsigned int __ebx; unsigned int __ecx; unsigned int __edx; unsigned int __edi; unsigned int __esi; unsigned int __ebp; unsigned int __esp; unsigned int __ss; unsigned int __eflags; unsigned int __eip; unsigned int __cs; unsigned int __ds; unsigned int __es; unsigned int __fs; unsigned int __gs; }; # 89 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_fp_control { unsigned short __invalid :1, __denorm :1, __zdiv :1, __ovrfl :1, __undfl :1, __precis :1, :2, __pc :2, __rc :2, :1, :3; }; typedef struct __darwin_fp_control __darwin_fp_control_t; # 147 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_fp_status { unsigned short __invalid :1, __denorm :1, __zdiv :1, __ovrfl :1, __undfl :1, __precis :1, __stkflt :1, __errsumm :1, __c0 :1, __c1 :1, __c2 :1, __tos :3, __c3 :1, __busy :1; }; typedef struct __darwin_fp_status __darwin_fp_status_t; # 191 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_mmst_reg { char __mmst_reg[10]; char __mmst_rsrv[6]; }; # 210 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_xmm_reg { char __xmm_reg[16]; }; # 232 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_i386_float_state { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; char __fpu_rsrv4[14*16]; int __fpu_reserved1; }; struct __darwin_i386_avx_state { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; char __fpu_rsrv4[14*16]; int __fpu_reserved1; char __avx_reserved1[64]; struct __darwin_xmm_reg __fpu_ymmh0; struct __darwin_xmm_reg __fpu_ymmh1; struct __darwin_xmm_reg __fpu_ymmh2; struct __darwin_xmm_reg __fpu_ymmh3; struct __darwin_xmm_reg __fpu_ymmh4; struct __darwin_xmm_reg __fpu_ymmh5; struct __darwin_xmm_reg __fpu_ymmh6; struct __darwin_xmm_reg __fpu_ymmh7; }; # 402 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_i386_exception_state { __uint16_t __trapno; __uint16_t __cpu; __uint32_t __err; __uint32_t __faultvaddr; }; # 422 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_debug_state32 { unsigned int __dr0; unsigned int __dr1; unsigned int __dr2; unsigned int __dr3; unsigned int __dr4; unsigned int __dr5; unsigned int __dr6; unsigned int __dr7; }; # 454 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_thread_state64 { __uint64_t __rax; __uint64_t __rbx; __uint64_t __rcx; __uint64_t __rdx; __uint64_t __rdi; __uint64_t __rsi; __uint64_t __rbp; __uint64_t __rsp; __uint64_t __r8; __uint64_t __r9; __uint64_t __r10; __uint64_t __r11; __uint64_t __r12; __uint64_t __r13; __uint64_t __r14; __uint64_t __r15; __uint64_t __rip; __uint64_t __rflags; __uint64_t __cs; __uint64_t __fs; __uint64_t __gs; }; # 509 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_float_state64 { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; struct __darwin_xmm_reg __fpu_xmm8; struct __darwin_xmm_reg __fpu_xmm9; struct __darwin_xmm_reg __fpu_xmm10; struct __darwin_xmm_reg __fpu_xmm11; struct __darwin_xmm_reg __fpu_xmm12; struct __darwin_xmm_reg __fpu_xmm13; struct __darwin_xmm_reg __fpu_xmm14; struct __darwin_xmm_reg __fpu_xmm15; char __fpu_rsrv4[6*16]; int __fpu_reserved1; }; struct __darwin_x86_avx_state64 { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; struct __darwin_xmm_reg __fpu_xmm8; struct __darwin_xmm_reg __fpu_xmm9; struct __darwin_xmm_reg __fpu_xmm10; struct __darwin_xmm_reg __fpu_xmm11; struct __darwin_xmm_reg __fpu_xmm12; struct __darwin_xmm_reg __fpu_xmm13; struct __darwin_xmm_reg __fpu_xmm14; struct __darwin_xmm_reg __fpu_xmm15; char __fpu_rsrv4[6*16]; int __fpu_reserved1; char __avx_reserved1[64]; struct __darwin_xmm_reg __fpu_ymmh0; struct __darwin_xmm_reg __fpu_ymmh1; struct __darwin_xmm_reg __fpu_ymmh2; struct __darwin_xmm_reg __fpu_ymmh3; struct __darwin_xmm_reg __fpu_ymmh4; struct __darwin_xmm_reg __fpu_ymmh5; struct __darwin_xmm_reg __fpu_ymmh6; struct __darwin_xmm_reg __fpu_ymmh7; struct __darwin_xmm_reg __fpu_ymmh8; struct __darwin_xmm_reg __fpu_ymmh9; struct __darwin_xmm_reg __fpu_ymmh10; struct __darwin_xmm_reg __fpu_ymmh11; struct __darwin_xmm_reg __fpu_ymmh12; struct __darwin_xmm_reg __fpu_ymmh13; struct __darwin_xmm_reg __fpu_ymmh14; struct __darwin_xmm_reg __fpu_ymmh15; }; # 751 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_exception_state64 { __uint16_t __trapno; __uint16_t __cpu; __uint32_t __err; __uint64_t __faultvaddr; }; # 771 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_debug_state64 { __uint64_t __dr0; __uint64_t __dr1; __uint64_t __dr2; __uint64_t __dr3; __uint64_t __dr4; __uint64_t __dr5; __uint64_t __dr6; __uint64_t __dr7; }; # 34 "/usr/include/i386/_mcontext.h" 2 3 4 struct __darwin_mcontext32 { struct __darwin_i386_exception_state __es; struct __darwin_i386_thread_state __ss; struct __darwin_i386_float_state __fs; }; struct __darwin_mcontext_avx32 { struct __darwin_i386_exception_state __es; struct __darwin_i386_thread_state __ss; struct __darwin_i386_avx_state __fs; }; # 76 "/usr/include/i386/_mcontext.h" 3 4 struct __darwin_mcontext64 { struct __darwin_x86_exception_state64 __es; struct __darwin_x86_thread_state64 __ss; struct __darwin_x86_float_state64 __fs; }; struct __darwin_mcontext_avx64 { struct __darwin_x86_exception_state64 __es; struct __darwin_x86_thread_state64 __ss; struct __darwin_x86_avx_state64 __fs; }; # 115 "/usr/include/i386/_mcontext.h" 3 4 typedef struct __darwin_mcontext64 *mcontext_t; # 30 "/usr/include/machine/_mcontext.h" 2 3 4 # 147 "/usr/include/sys/signal.h" 2 3 4 # 1 "/usr/include/sys/_types/_sigaltstack.h" 1 3 4 # 36 "/usr/include/sys/_types/_sigaltstack.h" 3 4 struct __darwin_sigaltstack { void *ss_sp; __darwin_size_t ss_size; int ss_flags; }; typedef struct __darwin_sigaltstack stack_t; # 151 "/usr/include/sys/signal.h" 2 3 4 # 1 "/usr/include/sys/_types/_ucontext.h" 1 3 4 # 34 "/usr/include/sys/_types/_ucontext.h" 3 4 struct __darwin_ucontext { int uc_onstack; __darwin_sigset_t uc_sigmask; struct __darwin_sigaltstack uc_stack; struct __darwin_ucontext *uc_link; __darwin_size_t uc_mcsize; struct __darwin_mcontext64 *uc_mcontext; }; typedef struct __darwin_ucontext ucontext_t; # 152 "/usr/include/sys/signal.h" 2 3 4 union sigval { int sival_int; void *sival_ptr; }; struct sigevent { int sigev_notify; int sigev_signo; union sigval sigev_value; void (*sigev_notify_function)(union sigval); pthread_attr_t *sigev_notify_attributes; }; typedef struct __siginfo { int si_signo; int si_errno; int si_code; pid_t si_pid; uid_t si_uid; int si_status; void *si_addr; union sigval si_value; long si_band; unsigned long __pad[7]; } siginfo_t; # 269 "/usr/include/sys/signal.h" 3 4 union __sigaction_u { void (*__sa_handler)(int); void (*__sa_sigaction)(int, struct __siginfo *, void *); }; struct __sigaction { union __sigaction_u __sigaction_u; void (*sa_tramp)(void *, int, int, siginfo_t *, void *); sigset_t sa_mask; int sa_flags; }; struct sigaction { union __sigaction_u __sigaction_u; sigset_t sa_mask; int sa_flags; }; # 331 "/usr/include/sys/signal.h" 3 4 typedef void (*sig_t)(int); # 348 "/usr/include/sys/signal.h" 3 4 struct sigvec { void (*sv_handler)(int); int sv_mask; int sv_flags; }; # 367 "/usr/include/sys/signal.h" 3 4 struct sigstack { char *ss_sp; int ss_onstack; }; # 390 "/usr/include/sys/signal.h" 3 4 void (*signal(int, void (*)(int)))(int); # 64 "/usr/include/signal.h" 2 3 4 extern const char *const sys_signame[32]; extern const char *const sys_siglist[32]; int raise(int); void (* _Nullable bsd_signal(int, void (* _Nullable)(int)))(int); int kill(pid_t, int) __asm("_" "kill" ); int killpg(pid_t, int) __asm("_" "killpg" ); int pthread_kill(pthread_t, int); int pthread_sigmask(int, const sigset_t *, sigset_t *) __asm("_" "pthread_sigmask" ); int sigaction(int, const struct sigaction * __restrict, struct sigaction * __restrict); int sigaddset(sigset_t *, int); int sigaltstack(const stack_t * __restrict, stack_t * __restrict) __asm("_" "sigaltstack" ) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))); int sigdelset(sigset_t *, int); int sigemptyset(sigset_t *); int sigfillset(sigset_t *); int sighold(int); int sigignore(int); int siginterrupt(int, int); int sigismember(const sigset_t *, int); int sigpause(int) __asm("_" "sigpause" ); int sigpending(sigset_t *); int sigprocmask(int, const sigset_t * __restrict, sigset_t * __restrict); int sigrelse(int); void (* _Nullable sigset(int, void (* _Nullable)(int)))(int); int sigsuspend(const sigset_t *) __asm("_" "sigsuspend" ); int sigwait(const sigset_t * __restrict, int * __restrict) __asm("_" "sigwait" ); void psignal(unsigned int, const char *); int sigblock(int); int sigsetmask(int); int sigvec(int, struct sigvec *, struct sigvec *); inline __attribute__ ((__always_inline__)) int __sigbits(int __signo) { return __signo > 32 ? 0 : (1 << (__signo - 1)); } # 53 "./signal.h" 2 3 # 67 "./signal.h" 3 # 1 "/usr/include/pthread.h" 1 3 4 # 57 "/usr/include/pthread.h" 3 4 # 1 "/usr/include/pthread/pthread_impl.h" 1 3 4 # 58 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/pthread/sched.h" 1 3 4 # 35 "/usr/include/pthread/sched.h" 3 4 struct sched_param { int sched_priority; char __opaque[4]; }; extern int sched_yield(void); extern int sched_get_priority_min(int); extern int sched_get_priority_max(int); # 60 "/usr/include/pthread.h" 2 3 4 # 1 "./time.h" 1 3 4 # 21 "./time.h" 3 # 61 "/usr/include/pthread.h" 2 3 4 # 73 "/usr/include/pthread.h" 3 4 # 1 "/usr/include/pthread/qos.h" 1 3 4 # 32 "/usr/include/pthread/qos.h" 3 4 # 1 "/usr/include/sys/qos.h" 1 3 4 # 128 "/usr/include/sys/qos.h" 3 4 enum { QOS_CLASS_USER_INTERACTIVE __attribute__((availability(macosx,introduced=10.10))) = 0x21, QOS_CLASS_USER_INITIATED __attribute__((availability(macosx,introduced=10.10))) = 0x19, QOS_CLASS_DEFAULT __attribute__((availability(macosx,introduced=10.10))) = 0x15, QOS_CLASS_UTILITY __attribute__((availability(macosx,introduced=10.10))) = 0x11, QOS_CLASS_BACKGROUND __attribute__((availability(macosx,introduced=10.10))) = 0x09, QOS_CLASS_UNSPECIFIED __attribute__((availability(macosx,introduced=10.10))) = 0x00, }; typedef unsigned int qos_class_t; # 168 "/usr/include/sys/qos.h" 3 4 __attribute__((availability(macosx,introduced=10.10))) qos_class_t qos_class_self(void); # 190 "/usr/include/sys/qos.h" 3 4 __attribute__((availability(macosx,introduced=10.10))) qos_class_t qos_class_main(void); # 33 "/usr/include/pthread/qos.h" 2 3 4 # 79 "/usr/include/pthread/qos.h" 3 4 __attribute__((availability(macosx,introduced=10.10))) int pthread_attr_set_qos_class_np(pthread_attr_t *__attr, qos_class_t __qos_class, int __relative_priority); # 110 "/usr/include/pthread/qos.h" 3 4 __attribute__((availability(macosx,introduced=10.10))) int pthread_attr_get_qos_class_np(pthread_attr_t * __restrict __attr, qos_class_t * _Nullable __restrict __qos_class, int * _Nullable __restrict __relative_priority); # 151 "/usr/include/pthread/qos.h" 3 4 __attribute__((availability(macosx,introduced=10.10))) int pthread_set_qos_class_self_np(qos_class_t __qos_class, int __relative_priority); # 182 "/usr/include/pthread/qos.h" 3 4 __attribute__((availability(macosx,introduced=10.10))) int pthread_get_qos_class_np(pthread_t __pthread, qos_class_t * _Nullable __restrict __qos_class, int * _Nullable __restrict __relative_priority); # 209 "/usr/include/pthread/qos.h" 3 4 typedef struct pthread_override_s* pthread_override_t; # 261 "/usr/include/pthread/qos.h" 3 4 __attribute__((availability(macosx,introduced=10.10))) pthread_override_t pthread_override_qos_class_start_np(pthread_t __pthread, qos_class_t __qos_class, int __relative_priority); # 289 "/usr/include/pthread/qos.h" 3 4 __attribute__((availability(macosx,introduced=10.10))) int pthread_override_qos_class_end_np(pthread_override_t __override); # 74 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/sys/_types/_mach_port_t.h" 1 3 4 # 49 "/usr/include/sys/_types/_mach_port_t.h" 3 4 typedef __darwin_mach_port_t mach_port_t; # 78 "/usr/include/pthread.h" 2 3 4 # 215 "/usr/include/pthread.h" 3 4 __attribute__((availability(macosx,introduced=10.4))) int pthread_atfork(void (* _Nullable)(void), void (* _Nullable)(void), void (* _Nullable)(void)); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_destroy(pthread_attr_t *); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_getdetachstate(const pthread_attr_t *, int *); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_getguardsize(const pthread_attr_t * __restrict, size_t * __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_getinheritsched(const pthread_attr_t * __restrict, int * __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_getschedparam(const pthread_attr_t * __restrict, struct sched_param * __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_getschedpolicy(const pthread_attr_t * __restrict, int * __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_getscope(const pthread_attr_t * __restrict, int * __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_getstack(const pthread_attr_t * __restrict, void * _Nullable * _Nonnull __restrict, size_t * __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_getstackaddr(const pthread_attr_t * __restrict, void * _Nullable * _Nonnull __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_getstacksize(const pthread_attr_t * __restrict, size_t * __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_init(pthread_attr_t *); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_setdetachstate(pthread_attr_t *, int); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_setguardsize(pthread_attr_t *, size_t); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_setinheritsched(pthread_attr_t *, int); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_setschedparam(pthread_attr_t * __restrict, const struct sched_param * __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_setschedpolicy(pthread_attr_t *, int); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_setscope(pthread_attr_t *, int); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_setstack(pthread_attr_t *, void *, size_t); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_setstackaddr(pthread_attr_t *, void *); __attribute__((availability(macosx,introduced=10.4))) int pthread_attr_setstacksize(pthread_attr_t *, size_t); __attribute__((availability(macosx,introduced=10.4))) int pthread_cancel(pthread_t) __asm("_" "pthread_cancel" ); __attribute__((availability(macosx,introduced=10.4))) int pthread_cond_broadcast(pthread_cond_t *); __attribute__((availability(macosx,introduced=10.4))) int pthread_cond_destroy(pthread_cond_t *); __attribute__((availability(macosx,introduced=10.4))) int pthread_cond_init( pthread_cond_t * __restrict, const pthread_condattr_t * _Nullable __restrict) __asm("_" "pthread_cond_init" ); __attribute__((availability(macosx,introduced=10.4))) int pthread_cond_signal(pthread_cond_t *); __attribute__((availability(macosx,introduced=10.4))) int pthread_cond_timedwait( pthread_cond_t * __restrict, pthread_mutex_t * __restrict, const struct timespec * _Nullable __restrict) __asm("_" "pthread_cond_timedwait" ); __attribute__((availability(macosx,introduced=10.4))) int pthread_cond_wait(pthread_cond_t * __restrict, pthread_mutex_t * __restrict) __asm("_" "pthread_cond_wait" ); __attribute__((availability(macosx,introduced=10.4))) int pthread_condattr_destroy(pthread_condattr_t *); __attribute__((availability(macosx,introduced=10.4))) int pthread_condattr_init(pthread_condattr_t *); __attribute__((availability(macosx,introduced=10.4))) int pthread_condattr_getpshared(const pthread_condattr_t * __restrict, int * __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_condattr_setpshared(pthread_condattr_t *, int); __attribute__((availability(macosx,introduced=10.4))) int pthread_create(pthread_t _Nullable * _Nonnull __restrict, const pthread_attr_t * _Nullable __restrict, void * _Nullable (* _Nonnull)(void * _Nullable), void * _Nullable __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_detach(pthread_t); __attribute__((availability(macosx,introduced=10.4))) int pthread_equal(pthread_t _Nullable, pthread_t _Nullable); __attribute__((availability(macosx,introduced=10.4))) void pthread_exit(void * _Nullable) __attribute__((noreturn)); __attribute__((availability(macosx,introduced=10.4))) int pthread_getconcurrency(void); __attribute__((availability(macosx,introduced=10.4))) int pthread_getschedparam(pthread_t , int * _Nullable __restrict, struct sched_param * _Nullable __restrict); __attribute__((availability(macosx,introduced=10.4))) void* _Nullable pthread_getspecific(pthread_key_t); __attribute__((availability(macosx,introduced=10.4))) int pthread_join(pthread_t , void * _Nullable * _Nullable) __asm("_" "pthread_join" ); __attribute__((availability(macosx,introduced=10.4))) int pthread_key_create(pthread_key_t *, void (* _Nullable)(void *)); __attribute__((availability(macosx,introduced=10.4))) int pthread_key_delete(pthread_key_t); __attribute__((availability(macosx,introduced=10.4))) int pthread_mutex_destroy(pthread_mutex_t *); __attribute__((availability(macosx,introduced=10.4))) int pthread_mutex_getprioceiling(const pthread_mutex_t * __restrict, int * __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_mutex_init(pthread_mutex_t * __restrict, const pthread_mutexattr_t * _Nullable __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_mutex_lock(pthread_mutex_t *); __attribute__((availability(macosx,introduced=10.4))) int pthread_mutex_setprioceiling(pthread_mutex_t * __restrict, int, int * __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_mutex_trylock(pthread_mutex_t *); __attribute__((availability(macosx,introduced=10.4))) int pthread_mutex_unlock(pthread_mutex_t *); __attribute__((availability(macosx,introduced=10.4))) int pthread_mutexattr_destroy(pthread_mutexattr_t *) __asm("_" "pthread_mutexattr_destroy" ); __attribute__((availability(macosx,introduced=10.4))) int pthread_mutexattr_getprioceiling(const pthread_mutexattr_t * __restrict, int * __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_mutexattr_getprotocol(const pthread_mutexattr_t * __restrict, int * __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_mutexattr_getpshared(const pthread_mutexattr_t * __restrict, int * __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_mutexattr_gettype(const pthread_mutexattr_t * __restrict, int * __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_mutexattr_init(pthread_mutexattr_t *); __attribute__((availability(macosx,introduced=10.4))) int pthread_mutexattr_setprioceiling(pthread_mutexattr_t *, int); __attribute__((availability(macosx,introduced=10.4))) int pthread_mutexattr_setprotocol(pthread_mutexattr_t *, int); __attribute__((availability(macosx,introduced=10.4))) int pthread_mutexattr_setpshared(pthread_mutexattr_t *, int); __attribute__((availability(macosx,introduced=10.4))) int pthread_mutexattr_settype(pthread_mutexattr_t *, int); __attribute__((availability(swift,unavailable,message="Use lazily initialized globals instead"))) __attribute__((availability(macosx,introduced=10.4))) int pthread_once(pthread_once_t *, void (* _Nonnull)(void)); __attribute__((availability(macosx,introduced=10.4))) int pthread_rwlock_destroy(pthread_rwlock_t * ) __asm("_" "pthread_rwlock_destroy" ); __attribute__((availability(macosx,introduced=10.4))) int pthread_rwlock_init(pthread_rwlock_t * __restrict, const pthread_rwlockattr_t * _Nullable __restrict) __asm("_" "pthread_rwlock_init" ); __attribute__((availability(macosx,introduced=10.4))) int pthread_rwlock_rdlock(pthread_rwlock_t *) __asm("_" "pthread_rwlock_rdlock" ); __attribute__((availability(macosx,introduced=10.4))) int pthread_rwlock_tryrdlock(pthread_rwlock_t *) __asm("_" "pthread_rwlock_tryrdlock" ); __attribute__((availability(macosx,introduced=10.4))) int pthread_rwlock_trywrlock(pthread_rwlock_t *) __asm("_" "pthread_rwlock_trywrlock" ); __attribute__((availability(macosx,introduced=10.4))) int pthread_rwlock_wrlock(pthread_rwlock_t *) __asm("_" "pthread_rwlock_wrlock" ); __attribute__((availability(macosx,introduced=10.4))) int pthread_rwlock_unlock(pthread_rwlock_t *) __asm("_" "pthread_rwlock_unlock" ); __attribute__((availability(macosx,introduced=10.4))) int pthread_rwlockattr_destroy(pthread_rwlockattr_t *); __attribute__((availability(macosx,introduced=10.4))) int pthread_rwlockattr_getpshared(const pthread_rwlockattr_t * __restrict, int * __restrict); __attribute__((availability(macosx,introduced=10.4))) int pthread_rwlockattr_init(pthread_rwlockattr_t *); __attribute__((availability(macosx,introduced=10.4))) int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *, int); __attribute__((availability(macosx,introduced=10.4))) pthread_t pthread_self(void); __attribute__((availability(macosx,introduced=10.4))) int pthread_setcancelstate(int , int * _Nullable) __asm("_" "pthread_setcancelstate" ); __attribute__((availability(macosx,introduced=10.4))) int pthread_setcanceltype(int , int * _Nullable) __asm("_" "pthread_setcanceltype" ); __attribute__((availability(macosx,introduced=10.4))) int pthread_setconcurrency(int); __attribute__((availability(macosx,introduced=10.4))) int pthread_setschedparam(pthread_t, int, const struct sched_param *); __attribute__((availability(macosx,introduced=10.4))) int pthread_setspecific(pthread_key_t , const void * _Nullable); __attribute__((availability(macosx,introduced=10.4))) void pthread_testcancel(void) __asm("_" "pthread_testcancel" ); __attribute__((availability(macosx,introduced=10.4))) int pthread_is_threaded_np(void); __attribute__((availability(macosx,introduced=10.6))) int pthread_threadid_np(pthread_t _Nullable,__uint64_t* _Nullable); __attribute__((availability(macosx,introduced=10.6))) int pthread_getname_np(pthread_t,char*,size_t); __attribute__((availability(macosx,introduced=10.6))) int pthread_setname_np(const char*); __attribute__((availability(macosx,introduced=10.4))) int pthread_main_np(void); __attribute__((availability(macosx,introduced=10.4))) mach_port_t pthread_mach_thread_np(pthread_t); __attribute__((availability(macosx,introduced=10.4))) size_t pthread_get_stacksize_np(pthread_t); __attribute__((availability(macosx,introduced=10.4))) void* pthread_get_stackaddr_np(pthread_t); __attribute__((availability(macosx,introduced=10.4))) int pthread_cond_signal_thread_np(pthread_cond_t *, pthread_t _Nullable); __attribute__((availability(macosx,introduced=10.4))) int pthread_cond_timedwait_relative_np(pthread_cond_t *, pthread_mutex_t *, const struct timespec * _Nullable); __attribute__((availability(macosx,introduced=10.4))) int pthread_create_suspended_np( pthread_t _Nullable * _Nonnull, const pthread_attr_t * _Nullable, void * _Nullable (* _Nonnull)(void * _Nullable), void * _Nullable); __attribute__((availability(macosx,introduced=10.4))) int pthread_kill(pthread_t, int); __attribute__((availability(macosx,introduced=10.5))) _Nullable pthread_t pthread_from_mach_thread_np(mach_port_t); __attribute__((availability(macosx,introduced=10.4))) int pthread_sigmask(int, const sigset_t * _Nullable, sigset_t * _Nullable) __asm("_" "pthread_sigmask" ); __attribute__((availability(macosx,introduced=10.4))) void pthread_yield_np(void); # 68 "./signal.h" 2 3 # 553 "./signal.h" 3 typedef void (*sighandler_t) (int); # 596 "./signal.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 111 "./sys/select.h" 2 3 # 700 "./sys/select.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 639 "/usr/include/unistd.h" 2 3 4 # 1 "/usr/include/sys/_types/_uuid_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_uuid_t.h" 3 4 typedef __darwin_uuid_t uuid_t; # 643 "/usr/include/unistd.h" 2 3 4 void _Exit(int) __attribute__((noreturn)); int accessx_np(const struct accessx_descriptor *, size_t, int *, uid_t); int acct(const char *); int add_profil(char *, size_t, unsigned long, unsigned int) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))); void endusershell(void); int execvP(const char * __file, const char * __searchpath, char * const * __argv) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))); char *fflagstostr(unsigned long); int getdomainname(char *, int); int getgrouplist(const char *, int, int *, int *); # 1 "/usr/include/gethostuuid.h" 1 3 4 # 39 "/usr/include/gethostuuid.h" 3 4 int gethostuuid(uuid_t, const struct timespec *) __attribute__((availability(macosx,introduced=10.5))); # 659 "/usr/include/unistd.h" 2 3 4 mode_t getmode(const void *, mode_t); int getpeereid(int, uid_t *, gid_t *); int getsgroups_np(int *, uuid_t); char *getusershell(void); int getwgroups_np(int *, uuid_t); int initgroups(const char *, int); int issetugid(void); char *mkdtemp(char *); int mknod(const char *, mode_t, dev_t); int mkpath_np(const char *path, mode_t omode) __attribute__((availability(macosx,introduced=10.8))); int mkpathat_np(int dfd, const char *path, mode_t omode) __attribute__((availability(macosx,introduced=10.12))) __attribute__((availability(ios,introduced=10.0))) __attribute__((availability(tvos,introduced=10.0))) __attribute__((availability(watchos,introduced=3.0))); int mkstemp(char *); int mkstemps(char *, int); char *mktemp(char *); int mkostemp(char *path, int oflags) __attribute__((availability(macosx,introduced=10.12))) __attribute__((availability(ios,introduced=10.0))) __attribute__((availability(tvos,introduced=10.0))) __attribute__((availability(watchos,introduced=3.0))); int mkostemps(char *path, int slen, int oflags) __attribute__((availability(macosx,introduced=10.12))) __attribute__((availability(ios,introduced=10.0))) __attribute__((availability(tvos,introduced=10.0))) __attribute__((availability(watchos,introduced=3.0))); int mkstemp_dprotected_np(char *path, int dpclass, int dpflags) __attribute__((availability(macosx,unavailable))) __attribute__((availability(ios,introduced=10.0))) __attribute__((availability(tvos,introduced=10.0))) __attribute__((availability(watchos,introduced=3.0))); int nfssvc(int, void *); int profil(char *, size_t, unsigned long, unsigned int); int pthread_setugid_np(uid_t, gid_t); int pthread_getugid_np( uid_t *, gid_t *); int reboot(int); int revoke(const char *); __attribute__((deprecated)) int rcmd(char **, int, const char *, const char *, const char *, int *); __attribute__((deprecated)) int rcmd_af(char **, int, const char *, const char *, const char *, int *, int); __attribute__((deprecated)) int rresvport(int *); __attribute__((deprecated)) int rresvport_af(int *, int); __attribute__((deprecated)) int iruserok(unsigned long, int, const char *, const char *); __attribute__((deprecated)) int iruserok_sa(const void *, int, int, const char *, const char *); __attribute__((deprecated)) int ruserok(const char *, int, const char *, const char *); int setdomainname(const char *, int); int setgroups(int, const gid_t *); void sethostid(long); int sethostname(const char *, int); void setkey(const char *) __asm("_" "setkey" ); int setlogin(const char *); void *setmode(const char *) __asm("_" "setmode" ); int setrgid(gid_t); int setruid(uid_t); int setsgroups_np(int, const uuid_t); void setusershell(void); int setwgroups_np(int, const uuid_t); int strtofflags(char **, unsigned long *, unsigned long *); int swapon(const char *); int ttyslot(void); int undelete(const char *); int unwhiteout(const char *); void *valloc(size_t); __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))) __attribute__((availability(ios,deprecated=10.0,message="syscall(2) is unsupported; " "please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost()."))) __attribute__((availability(macosx,deprecated=10.12,message="syscall(2) is unsupported; " "please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost()."))) int syscall(int, ...); extern char *suboptarg; int getsubopt(char **, char * const *, char **); int fgetattrlist(int,void*,void*,size_t,unsigned int) __attribute__((availability(macosx,introduced=10.6))); int fsetattrlist(int,void*,void*,size_t,unsigned int) __attribute__((availability(macosx,introduced=10.6))); int getattrlist(const char*,void*,void*,size_t,unsigned int) __asm("_" "getattrlist" ); int setattrlist(const char*,void*,void*,size_t,unsigned int) __asm("_" "setattrlist" ); int exchangedata(const char*,const char*,unsigned int) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))); int getdirentriesattr(int,void*,void*,size_t,unsigned int*,unsigned int*,unsigned int*,unsigned int) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))); # 757 "/usr/include/unistd.h" 3 4 struct fssearchblock; struct searchstate; int searchfs(const char *, struct fssearchblock *, unsigned long *, unsigned int, unsigned int, struct searchstate *) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))); int fsctl(const char *,unsigned long,void*,unsigned int); int ffsctl(int,unsigned long,void*,unsigned int) __attribute__((availability(macosx,introduced=10.6))); int fsync_volume_np(int, int) __attribute__((availability(macosx,introduced=10.8))); int sync_volume_np(const char *, int) __attribute__((availability(macosx,introduced=10.8))); extern int optreset; # 41 "./unistd.h" 2 3 # 56 "./unistd.h" 3 # 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/stddef.h" 1 3 4 # 57 "./unistd.h" 2 3 # 88 "./unistd.h" 3 # 1 "./stdlib.h" 1 3 # 21 "./stdlib.h" 3 # 1 "/usr/include/stdlib.h" 1 3 4 # 65 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/sys/wait.h" 1 3 4 # 79 "/usr/include/sys/wait.h" 3 4 typedef enum { P_ALL, P_PID, P_PGID } idtype_t; # 110 "/usr/include/sys/wait.h" 3 4 # 1 "/usr/include/sys/resource.h" 1 3 4 # 72 "/usr/include/sys/resource.h" 3 4 # 1 "./stdint.h" 1 3 4 # 28 "./stdint.h" 3 # 77 "./stdint.h" 3 # 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/stdint.h" 1 3 4 # 63 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/stdint.h" 3 4 # 1 "/usr/include/stdint.h" 1 3 4 # 23 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/_types/_uint8_t.h" 1 3 4 # 31 "/usr/include/_types/_uint8_t.h" 3 4 typedef unsigned char uint8_t; # 24 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/_types/_uint16_t.h" 1 3 4 # 31 "/usr/include/_types/_uint16_t.h" 3 4 typedef unsigned short uint16_t; # 25 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/_types/_uint32_t.h" 1 3 4 # 31 "/usr/include/_types/_uint32_t.h" 3 4 typedef unsigned int uint32_t; # 26 "/usr/include/stdint.h" 2 3 4 typedef int8_t int_least8_t; typedef int16_t int_least16_t; typedef int32_t int_least32_t; typedef int64_t int_least64_t; typedef uint8_t uint_least8_t; typedef uint16_t uint_least16_t; typedef uint32_t uint_least32_t; typedef uint64_t uint_least64_t; typedef int8_t int_fast8_t; typedef int16_t int_fast16_t; typedef int32_t int_fast32_t; typedef int64_t int_fast64_t; typedef uint8_t uint_fast8_t; typedef uint16_t uint_fast16_t; typedef uint32_t uint_fast32_t; typedef uint64_t uint_fast64_t; # 58 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/_types/_intmax_t.h" 1 3 4 # 32 "/usr/include/_types/_intmax_t.h" 3 4 typedef long int intmax_t; # 59 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/_types/_uintmax_t.h" 1 3 4 # 32 "/usr/include/_types/_uintmax_t.h" 3 4 typedef long unsigned int uintmax_t; # 60 "/usr/include/stdint.h" 2 3 4 # 64 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/stdint.h" 2 3 4 # 78 "./stdint.h" 2 3 # 1 "./limits.h" 1 3 # 23 "./limits.h" 3 # 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/limits.h" 1 3 4 # 37 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/limits.h" 3 4 # 1 "/usr/include/limits.h" 1 3 4 # 64 "/usr/include/limits.h" 3 4 # 1 "/usr/include/machine/limits.h" 1 3 4 # 1 "/usr/include/i386/limits.h" 1 3 4 # 40 "/usr/include/i386/limits.h" 3 4 # 1 "/usr/include/i386/_limits.h" 1 3 4 # 41 "/usr/include/i386/limits.h" 2 3 4 # 7 "/usr/include/machine/limits.h" 2 3 4 # 65 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/sys/syslimits.h" 1 3 4 # 66 "/usr/include/limits.h" 2 3 4 # 38 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/limits.h" 2 3 4 # 28 "./limits.h" 2 3 # 86 "./stdint.h" 2 3 # 105 "./stdint.h" 3 # 1 "./sys/types.h" 1 3 # 21 "./sys/types.h" 3 # 106 "./stdint.h" 2 3 # 1 "./inttypes.h" 1 3 # 26 "./inttypes.h" 3 # 41 "./inttypes.h" 3 # 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/inttypes.h" 1 3 4 # 26 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/inttypes.h" 3 4 # 1 "/usr/include/inttypes.h" 1 3 4 # 227 "/usr/include/inttypes.h" 3 4 # 1 "/usr/include/sys/_types/_wchar_t.h" 1 3 4 # 228 "/usr/include/inttypes.h" 2 3 4 # 1 "./stdint.h" 1 3 4 # 230 "/usr/include/inttypes.h" 2 3 4 __attribute__((availability(macosx,introduced=10.4))) extern intmax_t imaxabs(intmax_t j); typedef struct { intmax_t quot; intmax_t rem; } imaxdiv_t; __attribute__((availability(macosx,introduced=10.4))) extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denom); __attribute__((availability(macosx,introduced=10.4))) extern intmax_t strtoimax(const char * __restrict __nptr, char ** __restrict __endptr, int __base); __attribute__((availability(macosx,introduced=10.4))) extern uintmax_t strtoumax(const char * __restrict __nptr, char ** __restrict __endptr, int __base); __attribute__((availability(macosx,introduced=10.4))) extern intmax_t wcstoimax(const wchar_t * __restrict __nptr, wchar_t ** __restrict __endptr, int __base); __attribute__((availability(macosx,introduced=10.4))) extern uintmax_t wcstoumax(const wchar_t * __restrict __nptr, wchar_t ** __restrict __endptr, int __base); # 27 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/inttypes.h" 2 3 4 # 42 "./inttypes.h" 2 3 # 113 "./stdint.h" 2 3 # 152 "./stdint.h" 3 typedef signed char gl_int8_t; typedef unsigned char gl_uint8_t; typedef short int gl_int16_t; typedef unsigned short int gl_uint16_t; typedef int gl_int32_t; typedef unsigned int gl_uint32_t; # 273 "./stdint.h" 3 typedef signed char gl_int_fast8_t; typedef unsigned char gl_uint_fast8_t; typedef long int gl_int_fast32_t; typedef unsigned long int gl_uint_fast32_t; typedef gl_int_fast32_t gl_int_fast16_t; typedef gl_uint_fast32_t gl_uint_fast16_t; # 309 "./stdint.h" 3 typedef long int gl_intptr_t; typedef unsigned long int gl_uintptr_t; # 355 "./stdint.h" 3 typedef int _verify_intmax_size[sizeof (intmax_t) == sizeof (uintmax_t) ? 1 : -1]; # 73 "/usr/include/sys/resource.h" 2 3 4 # 89 "/usr/include/sys/resource.h" 3 4 typedef __uint64_t rlim_t; # 152 "/usr/include/sys/resource.h" 3 4 struct rusage { struct timeval ru_utime; struct timeval ru_stime; # 163 "/usr/include/sys/resource.h" 3 4 long ru_maxrss; long ru_ixrss; long ru_idrss; long ru_isrss; long ru_minflt; long ru_majflt; long ru_nswap; long ru_inblock; long ru_oublock; long ru_msgsnd; long ru_msgrcv; long ru_nsignals; long ru_nvcsw; long ru_nivcsw; }; # 192 "/usr/include/sys/resource.h" 3 4 typedef void *rusage_info_t; struct rusage_info_v0 { gl_uint8_t ri_uuid[16]; uint64_t ri_user_time; uint64_t ri_system_time; uint64_t ri_pkg_idle_wkups; uint64_t ri_interrupt_wkups; uint64_t ri_pageins; uint64_t ri_wired_size; uint64_t ri_resident_size; uint64_t ri_phys_footprint; uint64_t ri_proc_start_abstime; uint64_t ri_proc_exit_abstime; }; struct rusage_info_v1 { gl_uint8_t ri_uuid[16]; uint64_t ri_user_time; uint64_t ri_system_time; uint64_t ri_pkg_idle_wkups; uint64_t ri_interrupt_wkups; uint64_t ri_pageins; uint64_t ri_wired_size; uint64_t ri_resident_size; uint64_t ri_phys_footprint; uint64_t ri_proc_start_abstime; uint64_t ri_proc_exit_abstime; uint64_t ri_child_user_time; uint64_t ri_child_system_time; uint64_t ri_child_pkg_idle_wkups; uint64_t ri_child_interrupt_wkups; uint64_t ri_child_pageins; uint64_t ri_child_elapsed_abstime; }; struct rusage_info_v2 { gl_uint8_t ri_uuid[16]; uint64_t ri_user_time; uint64_t ri_system_time; uint64_t ri_pkg_idle_wkups; uint64_t ri_interrupt_wkups; uint64_t ri_pageins; uint64_t ri_wired_size; uint64_t ri_resident_size; uint64_t ri_phys_footprint; uint64_t ri_proc_start_abstime; uint64_t ri_proc_exit_abstime; uint64_t ri_child_user_time; uint64_t ri_child_system_time; uint64_t ri_child_pkg_idle_wkups; uint64_t ri_child_interrupt_wkups; uint64_t ri_child_pageins; uint64_t ri_child_elapsed_abstime; uint64_t ri_diskio_bytesread; uint64_t ri_diskio_byteswritten; }; struct rusage_info_v3 { gl_uint8_t ri_uuid[16]; uint64_t ri_user_time; uint64_t ri_system_time; uint64_t ri_pkg_idle_wkups; uint64_t ri_interrupt_wkups; uint64_t ri_pageins; uint64_t ri_wired_size; uint64_t ri_resident_size; uint64_t ri_phys_footprint; uint64_t ri_proc_start_abstime; uint64_t ri_proc_exit_abstime; uint64_t ri_child_user_time; uint64_t ri_child_system_time; uint64_t ri_child_pkg_idle_wkups; uint64_t ri_child_interrupt_wkups; uint64_t ri_child_pageins; uint64_t ri_child_elapsed_abstime; uint64_t ri_diskio_bytesread; uint64_t ri_diskio_byteswritten; uint64_t ri_cpu_time_qos_default; uint64_t ri_cpu_time_qos_maintenance; uint64_t ri_cpu_time_qos_background; uint64_t ri_cpu_time_qos_utility; uint64_t ri_cpu_time_qos_legacy; uint64_t ri_cpu_time_qos_user_initiated; uint64_t ri_cpu_time_qos_user_interactive; uint64_t ri_billed_system_time; uint64_t ri_serviced_system_time; }; typedef struct rusage_info_v3 rusage_info_current; # 325 "/usr/include/sys/resource.h" 3 4 struct rlimit { rlim_t rlim_cur; rlim_t rlim_max; }; # 353 "/usr/include/sys/resource.h" 3 4 struct proc_rlimit_control_wakeupmon { gl_uint32_t wm_flags; gl_int32_t wm_rate; }; # 385 "/usr/include/sys/resource.h" 3 4 int getpriority(int, id_t); int getiopolicy_np(int, int) __attribute__((availability(macosx,introduced=10.5))); int getrlimit(int, struct rlimit *) __asm("_" "getrlimit" ); int getrusage(int, struct rusage *); int setpriority(int, id_t, int); int setiopolicy_np(int, int, int) __attribute__((availability(macosx,introduced=10.5))); int setrlimit(int, const struct rlimit *) __asm("_" "setrlimit" ); # 111 "/usr/include/sys/wait.h" 2 3 4 # 194 "/usr/include/sys/wait.h" 3 4 union wait { int w_status; struct { unsigned int w_Termsig:7, w_Coredump:1, w_Retcode:8, w_Filler:16; } w_T; struct { unsigned int w_Stopval:8, w_Stopsig:8, w_Filler:16; } w_S; }; # 248 "/usr/include/sys/wait.h" 3 4 pid_t wait(int *) __asm("_" "wait" ); pid_t waitpid(pid_t, int *, int) __asm("_" "waitpid" ); int waitid(idtype_t, id_t, siginfo_t *, int) __asm("_" "waitid" ); pid_t wait3(int *, int, struct rusage *); pid_t wait4(pid_t, int *, int, struct rusage *); # 66 "/usr/include/stdlib.h" 2 3 4 # 1 "./alloca.h" 1 3 4 # 68 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/sys/_types/_ct_rune_t.h" 1 3 4 # 31 "/usr/include/sys/_types/_ct_rune_t.h" 3 4 typedef __darwin_ct_rune_t ct_rune_t; # 77 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/sys/_types/_rune_t.h" 1 3 4 # 30 "/usr/include/sys/_types/_rune_t.h" 3 4 typedef __darwin_rune_t rune_t; # 78 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/sys/_types/_wchar_t.h" 1 3 4 # 81 "/usr/include/stdlib.h" 2 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long quot; long rem; } ldiv_t; typedef struct { long long quot; long long rem; } lldiv_t; # 117 "/usr/include/stdlib.h" 3 4 extern int __mb_cur_max; # 128 "/usr/include/stdlib.h" 3 4 void abort(void) __attribute__((noreturn)); int abs(int) __attribute__((const)); int atexit(void (* _Nonnull)(void)); double atof(const char *); int atoi(const char *); long atol(const char *); long long atoll(const char *); void *bsearch(const void *__key, const void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)); void *calloc(size_t __count, size_t __size) __attribute__((__warn_unused_result__)); div_t div(int, int) __attribute__((const)); void exit(int) __attribute__((noreturn)); void free(void *); char *getenv(const char *); long labs(long) __attribute__((const)); ldiv_t ldiv(long, long) __attribute__((const)); long long llabs(long long); lldiv_t lldiv(long long, long long); void *malloc(size_t __size) __attribute__((__warn_unused_result__)); int mblen(const char *__s, size_t __n); size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t); int mbtowc(wchar_t * __restrict, const char * __restrict, size_t); int posix_memalign(void **__memptr, size_t __alignment, size_t __size) __attribute__((availability(macosx,introduced=10.6))); void qsort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)); int rand(void) __attribute__((__availability__(swift, unavailable, message="Use arc4random instead."))); void *realloc(void *__ptr, size_t __size) __attribute__((__warn_unused_result__)); void srand(unsigned) __attribute__((__availability__(swift, unavailable, message="Use arc4random instead."))); double strtod(const char *, char **) __asm("_" "strtod" ); float strtof(const char *, char **) __asm("_" "strtof" ); long strtol(const char *__str, char **__endptr, int __base); long double strtold(const char *, char **); long long strtoll(const char *__str, char **__endptr, int __base); unsigned long strtoul(const char *__str, char **__endptr, int __base); unsigned long long strtoull(const char *__str, char **__endptr, int __base); # 184 "/usr/include/stdlib.h" 3 4 __attribute__((__availability__(swift, unavailable, message="Use posix_spawn APIs or NSTask instead."))) __attribute__((availability(macosx,introduced=10.0))) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))) int system(const char *) __asm("_" "system" ); size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t); int wctomb(char *, wchar_t); void _Exit(int) __attribute__((noreturn)); long a64l(const char *); double drand48(void); char *ecvt(double, int, int *__restrict, int *__restrict); double erand48(unsigned short[3]); char *fcvt(double, int, int *__restrict, int *__restrict); char *gcvt(double, int, char *); int getsubopt(char **, char * const *, char **); int grantpt(int); char *initstate(unsigned, char *, size_t); long jrand48(unsigned short[3]) __attribute__((__availability__(swift, unavailable, message="Use arc4random instead."))); char *l64a(long); void lcong48(unsigned short[7]); long lrand48(void) __attribute__((__availability__(swift, unavailable, message="Use arc4random instead."))); char *mktemp(char *); int mkstemp(char *); long mrand48(void) __attribute__((__availability__(swift, unavailable, message="Use arc4random instead."))); long nrand48(unsigned short[3]) __attribute__((__availability__(swift, unavailable, message="Use arc4random instead."))); int posix_openpt(int); char *ptsname(int); int putenv(char *) __asm("_" "putenv" ); long random(void) __attribute__((__availability__(swift, unavailable, message="Use arc4random instead."))); int rand_r(unsigned *) __attribute__((__availability__(swift, unavailable, message="Use arc4random instead."))); char *realpath(const char * __restrict, char * __restrict) __asm("_" "realpath" "$DARWIN_EXTSN"); unsigned short *seed48(unsigned short[3]); int setenv(const char * __name, const char * __value, int __overwrite) __asm("_" "setenv" ); void setkey(const char *) __asm("_" "setkey" ); char *setstate(const char *); void srand48(long); void srandom(unsigned); int unlockpt(int); int unsetenv(const char *) __asm("_" "unsetenv" ); # 257 "/usr/include/stdlib.h" 3 4 gl_uint32_t arc4random(void); void arc4random_addrandom(unsigned char * , int ) __attribute__((availability(macosx,introduced=10.0))) __attribute__((availability(macosx,deprecated=10.12,message="use arc4random_stir"))) __attribute__((availability(ios,introduced=2.0))) __attribute__((availability(ios,deprecated=10.0,message="use arc4random_stir"))) __attribute__((availability(tvos,introduced=2.0))) __attribute__((availability(tvos,deprecated=10.0,message="use arc4random_stir"))) __attribute__((availability(watchos,introduced=1.0))) __attribute__((availability(watchos,deprecated=3.0,message="use arc4random_stir"))); void arc4random_buf(void * __buf, size_t __nbytes) __attribute__((availability(macosx,introduced=10.7))); void arc4random_stir(void); gl_uint32_t arc4random_uniform(gl_uint32_t __upper_bound) __attribute__((availability(macosx,introduced=10.7))); int atexit_b(void (^ _Nonnull)(void)) __attribute__((availability(macosx,introduced=10.6))); void *bsearch_b(const void *__key, const void *__base, size_t __nel, size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __attribute__((availability(macosx,introduced=10.6))); char *cgetcap(char *, const char *, int); int cgetclose(void); int cgetent(char **, char **, const char *); int cgetfirst(char **, char **); int cgetmatch(const char *, const char *); int cgetnext(char **, char **); int cgetnum(char *, const char *, long *); int cgetset(const char *); int cgetstr(char *, const char *, char **); int cgetustr(char *, const char *, char **); int daemon(int, int) __asm("_" "daemon" "$1050") __attribute__((availability(macosx,introduced=10.0,deprecated=10.5,message="Use posix_spawn APIs instead."))) __attribute__((availability(watchos,unavailable))) __attribute__((availability(tvos,unavailable))); char *devname(dev_t, mode_t); char *devname_r(dev_t, mode_t, char *buf, int len); char *getbsize(int *, long *); int getloadavg(double [], int); const char *getprogname(void); int heapsort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)); int heapsort_b(void *__base, size_t __nel, size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __attribute__((availability(macosx,introduced=10.6))); int mergesort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)); int mergesort_b(void *__base, size_t __nel, size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __attribute__((availability(macosx,introduced=10.6))); void psort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) __attribute__((availability(macosx,introduced=10.6))); void psort_b(void *__base, size_t __nel, size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __attribute__((availability(macosx,introduced=10.6))); void psort_r(void *__base, size_t __nel, size_t __width, void *, int (* _Nonnull __compar)(void *, const void *, const void *)) __attribute__((availability(macosx,introduced=10.6))); void qsort_b(void *__base, size_t __nel, size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __attribute__((availability(macosx,introduced=10.6))); void qsort_r(void *__base, size_t __nel, size_t __width, void *, int (* _Nonnull __compar)(void *, const void *, const void *)); int radixsort(const unsigned char **__base, int __nel, const unsigned char *__table, unsigned __endbyte); void setprogname(const char *); int sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table, unsigned __endbyte); void sranddev(void); void srandomdev(void); void *reallocf(void *__ptr, size_t __size); long long strtoq(const char *__str, char **__endptr, int __base); unsigned long long strtouq(const char *__str, char **__endptr, int __base); extern char *suboptarg; void *valloc(size_t); # 29 "./stdlib.h" 2 3 # 89 "./unistd.h" 2 3 # 128 "./unistd.h" 3 # 1 "./sys/types.h" 1 3 # 21 "./sys/types.h" 3 # 129 "./unistd.h" 2 3 # 1 "./getopt_cdefs.h" 1 3 # 135 "./unistd.h" 2 3 # 1 "./getopt_pfx_core.h" 1 3 # 52 "./getopt_pfx_core.h" 3 # 1 "./getopt_core.h" 1 3 # 36 "./getopt_core.h" 3 extern char *rpl_optarg; # 50 "./getopt_core.h" 3 extern int rpl_optind; extern int rpl_opterr; extern int rpl_optopt; # 91 "./getopt_core.h" 3 extern int rpl_getopt (int ___argc, char *const *___argv, const char *__shortopts) _Nonnull ((2, 3)); # 53 "./getopt_pfx_core.h" 2 3 # 136 "./unistd.h" 2 3 # 814 "./unistd.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 860 "./unistd.h" 3 # 1 "/usr/include/TargetConditionals.h" 1 3 4 # 861 "./unistd.h" 2 3 # 1 "/usr/include/crt_externs.h" 1 3 4 # 37 "/usr/include/crt_externs.h" 3 4 extern char ***_NSGetArgv(void); extern int *_NSGetArgc(void); extern char ***_NSGetEnviron(void); extern char **_NSGetProgname(void); extern struct mach_header_64 * _NSGetMachExecuteHeader(void); # 867 "./unistd.h" 2 3 # 922 "./unistd.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1002 "./unistd.h" 3 extern int fdatasync (int fd); extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1023 "./unistd.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1612 "./unistd.h" 3 extern int pipe2 (int fd[2], int flags) __attribute__ ((__nonnull__ (1))); extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 1727 "./unistd.h" 3 extern ssize_t rpl_readlink (const char *file, char *buf, size_t bufsize) __attribute__ ((__nonnull__ (1, 2))); extern int _gl_cxxalias_dummy; # 1741 "./unistd.h" 3 extern int _gl_cxxalias_dummy; # 1756 "./unistd.h" 3 extern ssize_t rpl_readlinkat (int fd, char const *file, char *buf, size_t len) __attribute__ ((__nonnull__ (2, 3))); extern int _gl_cxxalias_dummy; # 1770 "./unistd.h" 3 extern int _gl_cxxalias_dummy; # 1862 "./unistd.h" 3 extern int rpl_symlink (char const *contents, char const *file) __attribute__ ((__nonnull__ (1, 2))); extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 68 "./fcntl.h" 2 3 # 549 "./fcntl.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 46 "fstatat.c" 2 # 1 "./string.h" 1 # 21 "./string.h" 3 # 41 "./string.h" 3 # 1 "/usr/include/string.h" 1 3 4 # 70 "/usr/include/string.h" 3 4 void *memchr(const void *__s, int __c, size_t __n); int memcmp(const void *__s1, const void *__s2, size_t __n); void *memcpy(void *__dst, const void *__src, size_t __n); void *memmove(void *__dst, const void *__src, size_t __len); void *memset(void *__b, int __c, size_t __len); char *strcat(char *__s1, const char *__s2); char *strchr(const char *__s, int __c); int strcmp(const char *__s1, const char *__s2); int strcoll(const char *__s1, const char *__s2); char *strcpy(char *__dst, const char *__src); size_t strcspn(const char *__s, const char *__charset); char *strerror(int __errnum) __asm("_" "strerror" ); size_t strlen(const char *__s); char *strncat(char *__s1, const char *__s2, size_t __n); int strncmp(const char *__s1, const char *__s2, size_t __n); char *strncpy(char *__dst, const char *__src, size_t __n); char *strpbrk(const char *__s, const char *__charset); char *strrchr(const char *__s, int __c); size_t strspn(const char *__s, const char *__charset); char *strstr(const char *__big, const char *__little); char *strtok(char *__str, const char *__sep); size_t strxfrm(char *__s1, const char *__s2, size_t __n); # 104 "/usr/include/string.h" 3 4 char *strtok_r(char *__str, const char *__sep, char **__lasts); # 116 "/usr/include/string.h" 3 4 int strerror_r(int __errnum, char *__strerrbuf, size_t __buflen); char *strdup(const char *__s1); void *memccpy(void *__dst, const void *__src, int __c, size_t __n); # 130 "/usr/include/string.h" 3 4 char *stpcpy(char *__dst, const char *__src); char *stpncpy(char *__dst, const char *__src, size_t __n) __attribute__((availability(macosx,introduced=10.7))); char *strndup(const char *__s1, size_t __n) __attribute__((availability(macosx,introduced=10.7))); size_t strnlen(const char *__s1, size_t __n) __attribute__((availability(macosx,introduced=10.7))); char *strsignal(int __sig); # 145 "/usr/include/string.h" 3 4 errno_t memset_s(void *__s, rsize_t __smax, int __c, rsize_t __n) __attribute__((availability(macosx,introduced=10.9))); # 155 "/usr/include/string.h" 3 4 void *memmem(const void *__big, size_t __big_len, const void *__little, size_t __little_len) __attribute__((availability(macosx,introduced=10.7))); void memset_pattern4(void *__b, const void *__pattern4, size_t __len) __attribute__((availability(macosx,introduced=10.5))); void memset_pattern8(void *__b, const void *__pattern8, size_t __len) __attribute__((availability(macosx,introduced=10.5))); void memset_pattern16(void *__b, const void *__pattern16, size_t __len) __attribute__((availability(macosx,introduced=10.5))); char *strcasestr(const char *__big, const char *__little); char *strnstr(const char *__big, const char *__little, size_t __len); size_t strlcat(char *__dst, const char *__source, size_t __size); size_t strlcpy(char *__dst, const char *__source, size_t __size); void strmode(int __mode, char *__bp); char *strsep(char **__stringp, const char *__delim); void swab(const void * __restrict, void * __restrict, ssize_t); __attribute__((availability(macosx,introduced=10.12.1))) __attribute__((availability(ios,introduced=10.1))) __attribute__((availability(tvos,introduced=10.0.1))) __attribute__((availability(watchos,introduced=3.1))) int timingsafe_bcmp(const void *__b1, const void *__b2, size_t __len); # 1 "/usr/include/strings.h" 1 3 4 # 70 "/usr/include/strings.h" 3 4 int bcmp(const void *, const void *, size_t) ; void bcopy(const void *, void *, size_t) ; void bzero(void *, size_t) ; char *index(const char *, int) ; char *rindex(const char *, int) ; int ffs(int); int strcasecmp(const char *, const char *); int strncasecmp(const char *, const char *, size_t); int ffsl(long) __attribute__((availability(macosx,introduced=10.5))); int ffsll(long long) __attribute__((availability(macosx,introduced=10.9))); int fls(int) __attribute__((availability(macosx,introduced=10.5))); int flsl(long) __attribute__((availability(macosx,introduced=10.5))); int flsll(long long) __attribute__((availability(macosx,introduced=10.9))); # 1 "./string.h" 1 3 4 # 21 "./string.h" 3 # 31 "./string.h" 3 # 1 "/usr/include/string.h" 1 3 4 # 32 "./string.h" 2 3 # 93 "/usr/include/strings.h" 2 3 4 # 183 "/usr/include/string.h" 2 3 4 # 42 "./string.h" 2 3 # 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include/stddef.h" 1 3 4 # 50 "./string.h" 2 3 # 657 "./string.h" 3 extern void * memrchr (void const *, int, size_t) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 719 "./string.h" 3 extern int _gl_cxxalias_dummy; extern int _gl_cxxalias_dummy; # 47 "fstatat.c" 2 # 63 "fstatat.c" int rpl_fstatat (int fd, char const *file, struct stat *st, int flag) { int result = orig_fstatat (fd, file, st, flag); size_t len; if (0 || result != 0) return result; len = strlen (file); if (flag & 0x0020) { if (file[len - 1] != '/' || (((st->st_mode) & 0170000) == 0040000)) return 0; if (!(((st->st_mode) & 0170000) == 0120000)) { (*__error()) = 20; return -1; } result = orig_fstatat (fd, file, st, flag & ~0x0020); } if (result == 0 && !(((st->st_mode) & 0170000) == 0040000) && file[len - 1] == '/') { (*__error()) = 20; return -1; } return result; } --Apple-Mail=_C9C84A2B-EBB4-46E4-8205-04B3FD6C817D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

Am 08.04.2017 um 10:24 schrieb Paul Eggert = <eggert@cs.ucla.edu>:

[Following up on http://bugs.gnu.org/26398 and CC'ing bug-gnulib and Zack = Weinberg.]

In file included from ./unistd.h:135:
In file = included from ./getopt_pfx_core.h:52:
./getopt_core.h:91:79:= error: expected ';' after top level declarator
extern int = getopt (int ___argc, char *const *___argv, const char *__shortopts)

Can you please send the = preprocessor output for the failed compilation?
That is, = try running "make V=3D1". If the failed command looks like this:

  clang -c -Dthis -Dthat -Dtheother = fstatat.c

then run this command:

  clang -E -Dthis -Dthat -Dtheother = fstatat.c >fstatat.i

and send a copy of = fstatat.i as an attachment.

Also, can you = find out which .h file defined __THROW and __nonnull in your = environment? I have the sneaking suspicion that it's some .h file other = than getopt_cdefs.h.

Thanks.

= --Apple-Mail=_C9C84A2B-EBB4-46E4-8205-04B3FD6C817D-- --Apple-Mail=_18766603-28B5-46D9-A702-E0DB051E755B--