1 # 1 "pkgname.c"
2 # 1 "<built-in>"
3 # 1 "<command-line>"
4 # 1 "pkgname.c"
5 /*
6  * CDDL HEADER START
7  *
8  * The contents of this file are subject to the terms of the
9  * Common Development and Distribution License (the "License").
10  * You may not use this file except in compliance with the License.
11  *
12  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13  * or http://www.opensolaris.org/os/licensing.
14  * See the License for the specific language governing permissions
15  * and limitations under the License.
16  *
17  * When distributing Covered Code, include this CDDL HEADER in each
18  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19  * If applicable, add the following below this CDDL HEADER, with the
20  * fields enclosed by brackets "[]" replaced with your own identifying
21  * information: Portions Copyright [yyyy] [name of copyright owner]
22  *
23  * CDDL HEADER END
24  */
25 
26 /*
27  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
28  * Use is subject to license terms.
29  */
30 
31 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
32 /* All Rights Reserved */
33 
34 
35 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h" 1
36 /*
37  * CDDL HEADER START
38  *
39  * The contents of this file are subject to the terms of the
40  * Common Development and Distribution License (the "License").
41  * You may not use this file except in compliance with the License.
42  *
43  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
44  * or http://www.opensolaris.org/os/licensing.
45  * See the License for the specific language governing permissions
46  * and limitations under the License.
47  *
48  * When distributing Covered Code, include this CDDL HEADER in each
49  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
50  * If applicable, add the following below this CDDL HEADER, with the
51  * fields enclosed by brackets "[]" replaced with your own identifying
52  * information: Portions Copyright [yyyy] [name of copyright owner]
53  *
54  * CDDL HEADER END
55  */
56 
57 /*
58  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
59  * Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
60  */
61 
62 /*	Copyright (c) 1988 AT&T	*/
63 /*	  All Rights Reserved  	*/
64 
65 /*
66  * User-visible pieces of the ANSI C standard I/O package.
67  */
68 
69 
70 
71 
72 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
73 /*
74  * CDDL HEADER START
75  *
76  * The contents of this file are subject to the terms of the
77  * Common Development and Distribution License (the "License").
78  * You may not use this file except in compliance with the License.
79  *
80  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
81  * or http://www.opensolaris.org/os/licensing.
82  * See the License for the specific language governing permissions
83  * and limitations under the License.
84  *
85  * When distributing Covered Code, include this CDDL HEADER in each
86  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
87  * If applicable, add the following below this CDDL HEADER, with the
88  * fields enclosed by brackets "[]" replaced with your own identifying
89  * information: Portions Copyright [yyyy] [name of copyright owner]
90  *
91  * CDDL HEADER END
92  */
93 
94 /*
95  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
96  * Copyright 2016 Joyent, Inc.
97  *
98  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
99  * Use is subject to license terms.
100  */
101 
102 
103 
104 
105 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/ccompile.h" 1
106 /*
107  * CDDL HEADER START
108  *
109  * The contents of this file are subject to the terms of the
110  * Common Development and Distribution License, Version 1.0 only
111  * (the "License").  You may not use this file except in compliance
112  * with the License.
113  *
114  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
115  * or http://www.opensolaris.org/os/licensing.
116  * See the License for the specific language governing permissions
117  * and limitations under the License.
118  *
119  * When distributing Covered Code, include this CDDL HEADER in each
120  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
121  * If applicable, add the following below this CDDL HEADER, with the
122  * fields enclosed by brackets "[]" replaced with your own identifying
123  * information: Portions Copyright [yyyy] [name of copyright owner]
124  *
125  * CDDL HEADER END
126  */
127 /*
128  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
129  * Use is subject to license terms.
130  */
131 /*
132  * Copyright 2015 EveryCity Ltd. All rights reserved.
133  */
134 
135 
136 
137 
138 /*
139  * This file contains definitions designed to enable different compilers
140  * to be used harmoniously on Solaris systems.
141  */
142 
143 
144 
145 
146 
147 /*
148  * Allow for version tests for compiler bugs and features.
149  */
150 # 54 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/ccompile.h"
151 /*
152  * analogous to lint's PRINTFLIKEn
153  */
154 
155 
156 
157 
158 
159 /*
160  * Handle the kernel printf routines that can take '%b' too
161  */
162 # 78 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/ccompile.h"
163 /*
164  * This one's pretty obvious -- the function never returns
165  */
166 
167 
168 /*
169  * The function is 'extern inline' and expects GNU C89 behaviour, not C99
170  * behaviour.
171  *
172  * Should only be used on 'extern inline' definitions for GCC.
173  */
174 
175 
176 
177 
178 
179 
180 /*
181  * The function has control flow such that it may return multiple times (in
182  * the manner of setjmp or vfork)
183  */
184 
185 
186 
187 
188 
189 
190 /*
191  * This is an appropriate label for functions that do not
192  * modify their arguments, e.g. strlen()
193  */
194 
195 
196 /*
197  * This is a stronger form of __pure__. Can be used for functions
198  * that do not modify their arguments and don't depend on global
199  * memory.
200  */
201 
202 
203 
204 
205 /*
206  * This attribute, attached to a variable, means that the variable is meant to
207  * be possibly unused. GCC will not produce a warning for this variable.
208  */
209 # 138 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/ccompile.h"
210 /*
211  * Shorthand versions for readability
212  */
213 # 34 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 2
214 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/isa_defs.h" 1
215 /*
216  * CDDL HEADER START
217  *
218  * The contents of this file are subject to the terms of the
219  * Common Development and Distribution License (the "License").
220  * You may not use this file except in compliance with the License.
221  *
222  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
223  * or http://www.opensolaris.org/os/licensing.
224  * See the License for the specific language governing permissions
225  * and limitations under the License.
226  *
227  *
228  * When distributing Covered Code, include this CDDL HEADER in each
229  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
230  * If applicable, add the following below this CDDL HEADER, with the
231  * fields enclosed by brackets "[]" replaced with your own identifying
232  * information: Portions Copyright [yyyy] [name of copyright owner]
233  *
234  * CDDL HEADER END
235  */
236 
237 /*
238  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
239  * Use is subject to license terms.
240  * Copyright 2016 Joyent, Inc.
241  */
242 
243 
244 
245 
246 /*
247  * This header file serves to group a set of well known defines and to
248  * set these for each instruction set architecture.  These defines may
249  * be divided into two groups;  characteristics of the processor and
250  * implementation choices for Solaris on a processor.
251  *
252  * Processor Characteristics:
253  *
254  * _LITTLE_ENDIAN / _BIG_ENDIAN:
255  *	The natural byte order of the processor.  A pointer to an int points
256  *	to the least/most significant byte of that int.
257  *
258  * _STACK_GROWS_UPWARD / _STACK_GROWS_DOWNWARD:
259  *	The processor specific direction of stack growth.  A push onto the
260  *	stack increases/decreases the stack pointer, so it stores data at
261  *	successively higher/lower addresses.  (Stackless machines ignored
262  *	without regrets).
263  *
264  * _LONG_LONG_HTOL / _LONG_LONG_LTOH:
265  *	A pointer to a long long points to the most/least significant long
266  *	within that long long.
267  *
268  * _BIT_FIELDS_HTOL / _BIT_FIELDS_LTOH:
269  *	The C compiler assigns bit fields from the high/low to the low/high end
270  *	of an int (most to least significant vs. least to most significant).
271  *
272  * _IEEE_754:
273  *	The processor (or supported implementations of the processor)
274  *	supports the ieee-754 floating point standard.  No other floating
275  *	point standards are supported (or significant).  Any other supported
276  *	floating point formats are expected to be cased on the ISA processor
277  *	symbol.
278  *
279  * _CHAR_IS_UNSIGNED / _CHAR_IS_SIGNED:
280  *	The C Compiler implements objects of type `char' as `unsigned' or
281  *	`signed' respectively.  This is really an implementation choice of
282  *	the compiler writer, but it is specified in the ABI and tends to
283  *	be uniform across compilers for an instruction set architecture.
284  *	Hence, it has the properties of a processor characteristic.
285  *
286  * _CHAR_ALIGNMENT / _SHORT_ALIGNMENT / _INT_ALIGNMENT / _LONG_ALIGNMENT /
287  * _LONG_LONG_ALIGNMENT / _DOUBLE_ALIGNMENT / _LONG_DOUBLE_ALIGNMENT /
288  * _POINTER_ALIGNMENT / _FLOAT_ALIGNMENT:
289  *	The ABI defines alignment requirements of each of the primitive
290  *	object types.  Some, if not all, may be hardware requirements as
291  * 	well.  The values are expressed in "byte-alignment" units.
292  *
293  * _MAX_ALIGNMENT:
294  *	The most stringent alignment requirement as specified by the ABI.
295  *	Equal to the maximum of all the above _XXX_ALIGNMENT values.
296  *
297  * _MAX_ALIGNMENT_TYPE:
298  * 	The name of the C type that has the value descried in _MAX_ALIGNMENT.
299  *
300  * _ALIGNMENT_REQUIRED:
301  *	True or false (1 or 0) whether or not the hardware requires the ABI
302  *	alignment.
303  *
304  * _LONG_LONG_ALIGNMENT_32
305  *	The 32-bit ABI supported by a 64-bit kernel may have different
306  *	alignment requirements for primitive object types.  The value of this
307  *	identifier is expressed in "byte-alignment" units.
308  *
309  * _HAVE_CPUID_INSN
310  *	This indicates that the architecture supports the 'cpuid'
311  *	instruction as defined by Intel.  (Intel allows other vendors
312  *	to extend the instruction for their own purposes.)
313  *
314  *
315  * Implementation Choices:
316  *
317  * _ILP32 / _LP64:
318  *	This specifies the compiler data type implementation as specified in
319  *	the relevant ABI.  The choice between these is strongly influenced
320  *	by the underlying hardware, but is not absolutely tied to it.
321  *	Currently only two data type models are supported:
322  *
323  *	_ILP32:
324  *		Int/Long/Pointer are 32 bits.  This is the historical UNIX
325  *		and Solaris implementation.  Due to its historical standing,
326  *		this is the default case.
327  *
328  *	_LP64:
329  *		Long/Pointer are 64 bits, Int is 32 bits.  This is the chosen
330  *		implementation for 64-bit ABIs such as SPARC V9.
331  *
332  *	_I32LPx:
333  *		A compilation environment where 'int' is 32-bit, and
334  *		longs and pointers are simply the same size.
335  *
336  *	In all cases, Char is 8 bits and Short is 16 bits.
337  *
338  * _SUNOS_VTOC_8 / _SUNOS_VTOC_16 / _SVR4_VTOC_16:
339  *	This specifies the form of the disk VTOC (or label):
340  *
341  *	_SUNOS_VTOC_8:
342  *		This is a VTOC form which is upwardly compatible with the
343  *		SunOS 4.x disk label and allows 8 partitions per disk.
344  *
345  *	_SUNOS_VTOC_16:
346  *		In this format the incore vtoc image matches the ondisk
347  *		version.  It allows 16 slices per disk, and is not
348  *		compatible with the SunOS 4.x disk label.
349  *
350  *	Note that these are not the only two VTOC forms possible and
351  *	additional forms may be added.  One possible form would be the
352  *	SVr4 VTOC form.  The symbol for that is reserved now, although
353  *	it is not implemented.
354  *
355  *	_SVR4_VTOC_16:
356  *		This VTOC form is compatible with the System V Release 4
357  *		VTOC (as implemented on the SVr4 Intel and 3b ports) with
358  *		16 partitions per disk.
359  *
360  *
361  * _DMA_USES_PHYSADDR / _DMA_USES_VIRTADDR
362  *	This describes the type of addresses used by system DMA:
363  *
364  *	_DMA_USES_PHYSADDR:
365  *		This type of DMA, used in the x86 implementation,
366  *		requires physical addresses for DMA buffers.  The 24-bit
367  *		addresses used by some legacy boards is the source of the
368  *		"low-memory" (<16MB) requirement for some devices using DMA.
369  *
370  *	_DMA_USES_VIRTADDR:
371  *		This method of DMA allows the use of virtual addresses for
372  *		DMA transfers.
373  *
374  * _FIRMWARE_NEEDS_FDISK / _NO_FDISK_PRESENT
375  *      This indicates the presence/absence of an fdisk table.
376  *
377  *      _FIRMWARE_NEEDS_FDISK
378  *              The fdisk table is required by system firmware.  If present,
379  *              it allows a disk to be subdivided into multiple fdisk
380  *              partitions, each of which is equivalent to a separate,
381  *              virtual disk.  This enables the co-existence of multiple
382  *              operating systems on a shared hard disk.
383  *
384  *      _NO_FDISK_PRESENT
385  *              If the fdisk table is absent, it is assumed that the entire
386  *              media is allocated for a single operating system.
387  *
388  * _HAVE_TEM_FIRMWARE
389  *	Defined if this architecture has the (fallback) option of
390  *	using prom_* calls for doing I/O if a suitable kernel driver
391  *	is not available to do it.
392  *
393  * _DONT_USE_1275_GENERIC_NAMES
394  *		Controls whether or not device tree node names should
395  *		comply with the IEEE 1275 "Generic Names" Recommended
396  *		Practice. With _DONT_USE_GENERIC_NAMES, device-specific
397  *		names identifying the particular device will be used.
398  *
399  * __i386_COMPAT
400  *	This indicates whether the i386 ABI is supported as a *non-native*
401  *	mode for the platform.  When this symbol is defined:
402  *	-	32-bit xstat-style system calls are enabled
403  *	-	32-bit xmknod-style system calls are enabled
404  *	-	32-bit system calls use i386 sizes -and- alignments
405  *
406  *	Note that this is NOT defined for the i386 native environment!
407  *
408  * __x86
409  *	This is ONLY a synonym for defined(__i386) || defined(__amd64)
410  *	which is useful only insofar as these two architectures share
411  *	common attributes.  Analogous to __sparc.
412  *
413  * _PSM_MODULES
414  *	This indicates whether or not the implementation uses PSM
415  *	modules for processor support, reading /etc/mach from inside
416  *	the kernel to extract a list.
417  *
418  * _RTC_CONFIG
419  *	This indicates whether or not the implementation uses /etc/rtc_config
420  *	to configure the real-time clock in the kernel.
421  *
422  * _UNIX_KRTLD
423  *	This indicates that the implementation uses a dynamically
424  *	linked unix + krtld to form the core kernel image at boot
425  *	time, or (in the absence of this symbol) a prelinked kernel image.
426  *
427  * _OBP
428  *	This indicates the firmware interface is OBP.
429  *
430  * _SOFT_HOSTID
431  *	This indicates that the implementation obtains the hostid
432  *	from the file /etc/hostid, rather than from hardware.
433  */
434 
435 
436 
437 
438 
439 /*
440  * The following set of definitions characterize Solaris on AMD's
441  * 64-bit systems.
442  */
443 # 305 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/isa_defs.h"
444 /*
445  * Define the appropriate "processor characteristics"
446  */
447 # 333 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/isa_defs.h"
448 /*
449  * Define the appropriate "implementation choices".
450  */
451 # 351 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/isa_defs.h"
452 /*
453  * The following set of definitions characterize the Solaris on SPARC systems.
454  *
455  * The symbol __sparc indicates any of the SPARC family of processor
456  * architectures.  This includes SPARC V7, SPARC V8 and SPARC V9.
457  *
458  * The symbol __sparcv8 indicates the 32-bit SPARC V8 architecture as defined
459  * by Version 8 of the SPARC Architecture Manual.  (SPARC V7 is close enough
460  * to SPARC V8 for the former to be subsumed into the latter definition.)
461  *
462  * The symbol __sparcv9 indicates the 64-bit SPARC V9 architecture as defined
463  * by Version 9 of the SPARC Architecture Manual.
464  *
465  * The symbols __sparcv8 and __sparcv9 are mutually exclusive, and are only
466  * relevant when the symbol __sparc is defined.
467  */
468 /*
469  * XXX Due to the existence of 5110166, "defined(__sparcv9)" needs to be added
470  * to support backwards builds.  This workaround should be removed in s10_71.
471  */
472 # 35 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 2
473 
474 
475 
476 
477 
478 /*
479  * Values of _POSIX_C_SOURCE
480  *
481  *		undefined   not a POSIX compilation
482  *		1	    POSIX.1-1990 compilation
483  *		2	    POSIX.2-1992 compilation
484  *		199309L	    POSIX.1b-1993 compilation (Real Time)
485  *		199506L	    POSIX.1c-1995 compilation (POSIX Threads)
486  *		200112L	    POSIX.1-2001 compilation (Austin Group Revision)
487  *		200809L     POSIX.1-2008 compilation
488  */
489 
490 
491 
492 
493 /*
494  * The feature test macros __XOPEN_OR_POSIX, _STRICT_STDC, _STRICT_SYMBOLS,
495  * and _STDC_C99 are Sun implementation specific macros created in order to
496  * compress common standards specified feature test macros for easier reading.
497  * These macros should not be used by the application developer as
498  * unexpected results may occur. Instead, the user should reference
499  * standards(5) for correct usage of the standards feature test macros.
500  *
501  * __XOPEN_OR_POSIX     Used in cases where a symbol is defined by both
502  *                      X/Open or POSIX or in the negative, when neither
503  *                      X/Open or POSIX defines a symbol.
504  *
505  * _STRICT_STDC         __STDC__ is specified by the C Standards and defined
506  *                      by the compiler. For Sun compilers the value of
507  *                      __STDC__ is either 1, 0, or not defined based on the
508  *                      compilation mode (see cc(1)). When the value of
509  *                      __STDC__ is 1 and in the absence of any other feature
510  *                      test macros, the namespace available to the application
511  *                      is limited to only those symbols defined by the C
512  *                      Standard. _STRICT_STDC provides a more readable means
513  *                      of identifying symbols defined by the standard, or in
514  *                      the negative, symbols that are extensions to the C
515  *                      Standard. See additional comments for GNU C differences.
516  *
517  * _STDC_C99            __STDC_VERSION__ is specified by the C standards and
518  *                      defined by the compiler and indicates the version of
519  *                      the C standard. A value of 199901L indicates a
520  *                      compiler that complies with ISO/IEC 9899:1999, other-
521  *                      wise known as the C99 standard.
522  *
523  * _STDC_C11		Like _STDC_C99 except that the value of __STDC_VERSION__
524  *                      is 201112L indicating a compiler that compiles with
525  *                      ISO/IEXC 9899:2011, otherwise known as the C11 standard.
526  *
527  * _STRICT_SYMBOLS	Used in cases where symbol visibility is restricted
528  *                      by the standards, and the user has not explicitly
529  *                      relaxed the strictness via __EXTENSIONS__.
530  */
531 
532 
533 
534 
535 
536 /*
537  * ISO/IEC 9899:1990 and it's revisions, ISO/IEC 9899:1999 and ISO/IEC
538  * 99899:2011 specify the following predefined macro name:
539  *
540  * __STDC__	The integer constant 1, intended to indicate a conforming
541  *		implementation.
542  *
543  * Furthermore, a strictly conforming program shall use only those features
544  * of the language and library specified in these standards. A conforming
545  * implementation shall accept any strictly conforming program.
546  *
547  * Based on these requirements, Sun's C compiler defines __STDC__ to 1 for
548  * strictly conforming environments and __STDC__ to 0 for environments that
549  * use ANSI C semantics but allow extensions to the C standard. For non-ANSI
550  * C semantics, Sun's C compiler does not define __STDC__.
551  *
552  * The GNU C project interpretation is that __STDC__ should always be defined
553  * to 1 for compilation modes that accept ANSI C syntax regardless of whether
554  * or not extensions to the C standard are used. Violations of conforming
555  * behavior are conditionally flagged as warnings via the use of the
556  * -pedantic option. In addition to defining __STDC__ to 1, the GNU C
557  * compiler also defines __STRICT_ANSI__ as a means of specifying strictly
558  * conforming environments using the -ansi or -std=<standard> options.
559  *
560  * In the absence of any other compiler options, Sun and GNU set the value
561  * of __STDC__ as follows when using the following options:
562  *
563  *				Value of __STDC__  __STRICT_ANSI__
564  *
565  * cc -Xa (default)			0	      undefined
566  * cc -Xt (transitional)		0             undefined
567  * cc -Xc (strictly conforming)		1	      undefined
568  * cc -Xs (K&R C)		    undefined	      undefined
569  *
570  * gcc (default)			1	      undefined
571  * gcc -ansi, -std={c89, c99,...)  	1              defined
572  * gcc -traditional (K&R)	    undefined	      undefined
573  *
574  * The default compilation modes for Sun C compilers versus GNU C compilers
575  * results in a differing value for __STDC__ which results in a more
576  * restricted namespace when using Sun compilers. To allow both GNU and Sun
577  * interpretations to peacefully co-exist, we use the following Sun
578  * implementation _STRICT_STDC_ macro:
579  */
580 # 150 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h"
581 /*
582  * Compiler complies with ISO/IEC 9899:1999 or ISO/IEC 9989:2011
583  */
584 # 162 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h"
585 /*
586  * Use strict symbol visibility.
587  */
588 
589 
590 
591 
592 
593 /*
594  * Large file interfaces:
595  *
596  *	_LARGEFILE_SOURCE
597  *		1		large file-related additions to POSIX
598  *				interfaces requested (fseeko, etc.)
599  *	_LARGEFILE64_SOURCE
600  *		1		transitional large-file-related interfaces
601  *				requested (seek64, stat64, etc.)
602  *
603  * The corresponding announcement macros are respectively:
604  *	_LFS_LARGEFILE
605  *	_LFS64_LARGEFILE
606  * (These are set in <unistd.h>.)
607  *
608  * Requesting _LARGEFILE64_SOURCE implies requesting _LARGEFILE_SOURCE as
609  * well.
610  *
611  * The large file interfaces are made visible regardless of the initial values
612  * of the feature test macros under certain circumstances:
613  *    -	If no explicit standards-conforming environment is requested (neither
614  *	of _POSIX_SOURCE nor _XOPEN_SOURCE is defined and the value of
615  *	__STDC__ does not imply standards conformance).
616  *    -	Extended system interfaces are explicitly requested (__EXTENSIONS__
617  * 	is defined).
618  *    -	Access to in-kernel interfaces is requested (_KERNEL or _KMEMUSER is
619  *	defined).  (Note that this dependency is an artifact of the current
620  *	kernel implementation and may change in future releases.)
621  */
622 # 210 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h"
623 /*
624  * Large file compilation environment control:
625  *
626  * The setting of _FILE_OFFSET_BITS controls the size of various file-related
627  * types and governs the mapping between file-related source function symbol
628  * names and the corresponding binary entry points.
629  *
630  * In the 32-bit environment, the default value is 32; if not set, set it to
631  * the default here, to simplify tests in other headers.
632  *
633  * In the 64-bit compilation environment, the only value allowed is 64.
634  */
635 # 238 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h"
636 /*
637  * Use of _XOPEN_SOURCE
638  *
639  * The following X/Open specifications are supported:
640  *
641  * X/Open Portability Guide, Issue 3 (XPG3)
642  * X/Open CAE Specification, Issue 4 (XPG4)
643  * X/Open CAE Specification, Issue 4, Version 2 (XPG4v2)
644  * X/Open CAE Specification, Issue 5 (XPG5)
645  * Open Group Technical Standard, Issue 6 (XPG6), also referred to as
646  *    IEEE Std. 1003.1-2001 and ISO/IEC 9945:2002.
647  * Open Group Technical Standard, Issue 7 (XPG7), also referred to as
648  *    IEEE Std. 1003.1-2008 and ISO/IEC 9945:2009.
649  *
650  * XPG4v2 is also referred to as UNIX 95 (SUS or SUSv1).
651  * XPG5 is also referred to as UNIX 98 or the Single Unix Specification,
652  *     Version 2 (SUSv2)
653  * XPG6 is the result of a merge of the X/Open and POSIX specifications
654  *     and as such is also referred to as IEEE Std. 1003.1-2001 in
655  *     addition to UNIX 03 and SUSv3.
656  * XPG7 is also referred to as UNIX 08 and SUSv4.
657  *
658  * When writing a conforming X/Open application, as per the specification
659  * requirements, the appropriate feature test macros must be defined at
660  * compile time. These are as follows. For more info, see standards(5).
661  *
662  * Feature Test Macro				     Specification
663  * ------------------------------------------------  -------------
664  * _XOPEN_SOURCE                                         XPG3
665  * _XOPEN_SOURCE && _XOPEN_VERSION = 4                   XPG4
666  * _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1           XPG4v2
667  * _XOPEN_SOURCE = 500                                   XPG5
668  * _XOPEN_SOURCE = 600  (or POSIX_C_SOURCE=200112L)      XPG6
669  * _XOPEN_SOURCE = 700  (or POSIX_C_SOURCE=200809L)      XPG7
670  *
671  * In order to simplify the guards within the headers, the following
672  * implementation private test macros have been created. Applications
673  * must NOT use these private test macros as unexpected results will
674  * occur.
675  *
676  * Note that in general, the use of these private macros is cumulative.
677  * For example, the use of _XPG3 with no other restrictions on the X/Open
678  * namespace will make the symbols visible for XPG3 through XPG6
679  * compilation environments. The use of _XPG4_2 with no other X/Open
680  * namespace restrictions indicates that the symbols were introduced in
681  * XPG4v2 and are therefore visible for XPG4v2 through XPG6 compilation
682  * environments, but not for XPG3 or XPG4 compilation environments.
683  *
684  * _XPG3    X/Open Portability Guide, Issue 3 (XPG3)
685  * _XPG4    X/Open CAE Specification, Issue 4 (XPG4)
686  * _XPG4_2  X/Open CAE Specification, Issue 4, Version 2 (XPG4v2/UNIX 95/SUS)
687  * _XPG5    X/Open CAE Specification, Issue 5 (XPG5/UNIX 98/SUSv2)
688  * _XPG6    Open Group Technical Standard, Issue 6 (XPG6/UNIX 03/SUSv3)
689  * _XPG7    Open Group Technical Standard, Issue 7 (XPG7/UNIX 08/SUSv4)
690  */
691 
692 /* X/Open Portability Guide, Issue 3 */
693 # 341 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h"
694 /*
695  * _XOPEN_VERSION is defined by the X/Open specifications and is not
696  * normally defined by the application, except in the case of an XPG4
697  * application.  On the implementation side, _XOPEN_VERSION defined with
698  * the value of 3 indicates an XPG3 application. _XOPEN_VERSION defined
699  * with the value of 4 indicates an XPG4 or XPG4v2 (UNIX 95) application.
700  * _XOPEN_VERSION  defined with a value of 500 indicates an XPG5 (UNIX 98)
701  * application and with a value of 600 indicates an XPG6 (UNIX 03)
702  * application and with a value of 700 indicates an XPG7 (UNIX 08).
703  * The appropriate version is determined by the use of the
704  * feature test macros described earlier.  The value of _XOPEN_VERSION
705  * defaults to 3 otherwise indicating support for XPG3 applications.
706  */
707 # 368 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h"
708 /*
709  * ANSI C and ISO 9899:1990 say the type long long doesn't exist in strictly
710  * conforming environments.  ISO 9899:1999 says it does.
711  *
712  * The presence of _LONGLONG_TYPE says "long long exists" which is therefore
713  * defined in all but strictly conforming environments that disallow it.
714  */
715 # 388 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h"
716 /*
717  * The following macro defines a value for the ISO C99 restrict
718  * keyword so that _RESTRICT_KYWD resolves to "restrict" if
719  * an ISO C99 compiler is used, "__restrict" for c++ and "" (null string)
720  * if any other compiler is used. This allows for the use of single
721  * prototype declarations regardless of compiler version.
722  */
723 # 410 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h"
724 /*
725  * The following macro defines a value for the ISO C11 _Noreturn
726  * keyword so that _NORETURN_KYWD resolves to "_Noreturn" if
727  * an ISO C11 compiler is used and "" (null string) if any other
728  * compiler is used. This allows for the use of single prototype
729  * declarations regardless of compiler version.
730  */
731 
732 
733 
734 
735 
736 
737 
738 /*
739  * The following macro indicates header support for the ANSI C++
740  * standard.  The ISO/IEC designation for this is ISO/IEC FDIS 14882.
741  */
742 
743 
744 /*
745  * The following macro indicates header support for the C99 standard,
746  * ISO/IEC 9899:1999, Programming Languages - C.
747  */
748 
749 
750 /*
751  * The following macro indicates header support for the C99 standard,
752  * ISO/IEC 9899:2011, Programming Languages - C.
753  */
754 
755 
756 /*
757  * The following macro indicates header support for DTrace. The value is an
758  * integer that corresponds to the major version number for DTrace.
759  */
760 # 38 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h" 2
761 
762 
763 
764 
765 
766 /*
767  * Do all of our 'redefine_extname' processing before
768  * declarations of the associated functions are seen.
769  * This is necessary to keep gcc happy.
770  */
771 
772 
773 /* large file compilation environment setup */
774 
775 
776 # 52 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
777 #pragma redefine_extname fopen fopen64
778 # 52 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
779 
780 
781 # 53 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
782 #pragma redefine_extname freopen freopen64
783 # 53 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
784 
785 
786 # 54 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
787 #pragma redefine_extname tmpfile tmpfile64
788 # 54 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
789 
790 
791 # 55 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
792 #pragma redefine_extname fgetpos fgetpos64
793 # 55 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
794 
795 
796 # 56 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
797 #pragma redefine_extname fsetpos fsetpos64
798 # 56 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
799 
800 
801 
802 # 58 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
803 #pragma redefine_extname fseeko fseeko64
804 # 58 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
805 
806 
807 # 59 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
808 #pragma redefine_extname ftello ftello64
809 # 59 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
810 
811 
812 
813 
814 /* In the LP64 compilation environment, all APIs are already large file */
815 # 82 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
816 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdio_iso.h" 1
817 /*
818  * CDDL HEADER START
819  *
820  * The contents of this file are subject to the terms of the
821  * Common Development and Distribution License, Version 1.0 only
822  * (the "License").  You may not use this file except in compliance
823  * with the License.
824  *
825  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
826  * or http://www.opensolaris.org/os/licensing.
827  * See the License for the specific language governing permissions
828  * and limitations under the License.
829  *
830  * When distributing Covered Code, include this CDDL HEADER in each
831  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
832  * If applicable, add the following below this CDDL HEADER, with the
833  * fields enclosed by brackets "[]" replaced with your own identifying
834  * information: Portions Copyright [yyyy] [name of copyright owner]
835  *
836  * CDDL HEADER END
837  */
838 /*
839  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
840  * Copyright 2014 PALO, Richard.
841  *
842  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
843  * Use is subject to license terms.
844  */
845 
846 /*	Copyright (c) 1988 AT&T	*/
847 /*	  All Rights Reserved  	*/
848 
849 /*
850  * An application should not include this header directly.  Instead it
851  * should be included only through the inclusion of other Sun headers.
852  *
853  * The contents of this header is limited to identifiers specified in the
854  * C Standard.  Any new identifiers specified in future amendments to the
855  * C Standard must be placed in this header.  If these new identifiers
856  * are required to also be in the C++ Standard "std" namespace, then for
857  * anything other than macro definitions, corresponding "using" directives
858  * must also be added to <stdio.h>.
859  */
860 
861 /*
862  * User-visible pieces of the ANSI C standard I/O package.
863  */
864 
865 
866 
867 
868 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
869 /*
870  * CDDL HEADER START
871  *
872  * The contents of this file are subject to the terms of the
873  * Common Development and Distribution License (the "License").
874  * You may not use this file except in compliance with the License.
875  *
876  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
877  * or http://www.opensolaris.org/os/licensing.
878  * See the License for the specific language governing permissions
879  * and limitations under the License.
880  *
881  * When distributing Covered Code, include this CDDL HEADER in each
882  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
883  * If applicable, add the following below this CDDL HEADER, with the
884  * fields enclosed by brackets "[]" replaced with your own identifying
885  * information: Portions Copyright [yyyy] [name of copyright owner]
886  *
887  * CDDL HEADER END
888  */
889 
890 /*
891  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
892  * Copyright 2016 Joyent, Inc.
893  *
894  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
895  * Use is subject to license terms.
896  */
897 # 53 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdio_iso.h" 2
898 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/null.h" 1
899 /*
900  * This file and its contents are supplied under the terms of the
901  * Common Development and Distribution License ("CDDL"), version 1.0.
902  * You may only use this file in accordance with the terms of version
903  * 1.0 of the CDDL.
904  *
905  * A full copy of the text of the CDDL should have accompanied this
906  * source.  A copy of the CDDL is also available via the Internet at
907  * http://www.illumos.org/license/CDDL.
908  */
909 
910 /*
911  * Copyright 2014-2016 PALO, Richard.
912  */
913 # 54 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdio_iso.h" 2
914 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/va_list.h" 1
915 /*
916  * CDDL HEADER START
917  *
918  * The contents of this file are subject to the terms of the
919  * Common Development and Distribution License, Version 1.0 only
920  * (the "License").  You may not use this file except in compliance
921  * with the License.
922  *
923  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
924  * or http://www.opensolaris.org/os/licensing.
925  * See the License for the specific language governing permissions
926  * and limitations under the License.
927  *
928  * When distributing Covered Code, include this CDDL HEADER in each
929  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
930  * If applicable, add the following below this CDDL HEADER, with the
931  * fields enclosed by brackets "[]" replaced with your own identifying
932  * information: Portions Copyright [yyyy] [name of copyright owner]
933  *
934  * CDDL HEADER END
935  */
936 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
937 /*	  All Rights Reserved	*/
938 
939 
940 /*
941  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
942  *
943  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
944  * Use is subject to license terms.
945  */
946 
947 
948 
949 
950 /*
951  * An application should not include this header directly.  Instead it
952  * should be included only through the inclusion of other Sun headers.
953  *
954  * The purpose of this header is to provide the type definitions for
955  * the va_list argument used by a number of printf and printf like
956  * functions. The headers that define these various function prototypes
957  * #include this header directly. These include but are not necessarily
958  * limited to <stdio.h>, <stdio_iso.h>, <wchar_iso.h>, <strlog.h> and
959  * <syslog.h>. The type definitions included in this header are for
960  * the benefit of consumers of va_list.
961  *
962  * Any application that accepts variable argument lists must as documented,
963  * include either <varargs.h> or the preferred <stdarg.h>. Doing so will
964  * pull in the appropriate compiler protocols defined in <sys/va_impl.h>
965  * which is in turn is included by <varargs.h> and <stdarg.h>. See comments
966  * in <sys/va_impl.h> for more detailed information regarding implementation
967  * and compiler specific protocols.
968  */
969 
970 /*
971  * The common definitions exported by this header or compilers using
972  * this header are:
973  *
974  * the identifier __builtin_va_alist for the variable list pseudo parameter
975  * the type __va_alist_type for the variable list pseudo parameter
976  * the type __va_list defining the type of the variable list iterator
977  *
978  * The feature macros (e.g. __BUILTIN_VA_STRUCT) and compiler macros
979  * (__GNUC__) and processor macros (e.g. __amd64) are intended to be
980  * defined by the compilation system, not the user of the system.
981  */
982 
983 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/isa_defs.h" 1
984 /*
985  * CDDL HEADER START
986  *
987  * The contents of this file are subject to the terms of the
988  * Common Development and Distribution License (the "License").
989  * You may not use this file except in compliance with the License.
990  *
991  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
992  * or http://www.opensolaris.org/os/licensing.
993  * See the License for the specific language governing permissions
994  * and limitations under the License.
995  *
996  *
997  * When distributing Covered Code, include this CDDL HEADER in each
998  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
999  * If applicable, add the following below this CDDL HEADER, with the
1000  * fields enclosed by brackets "[]" replaced with your own identifying
1001  * information: Portions Copyright [yyyy] [name of copyright owner]
1002  *
1003  * CDDL HEADER END
1004  */
1005 
1006 /*
1007  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
1008  * Use is subject to license terms.
1009  * Copyright 2016 Joyent, Inc.
1010  */
1011 # 70 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/va_list.h" 2
1012 # 108 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/va_list.h"
1013 typedef __builtin_va_list __gnuc_va_list;
1014 /*
1015  * XX64 This seems unnecessary .. but is needed because vcmn_err is
1016  *	defined with __va_list instead of plain old va_list.
1017  *	Perhaps that should be fixed!
1018  */
1019 typedef __builtin_va_list __va_list;
1020 # 55 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdio_iso.h" 2
1021 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio_tag.h" 1
1022 /*
1023  * CDDL HEADER START
1024  *
1025  * The contents of this file are subject to the terms of the
1026  * Common Development and Distribution License, Version 1.0 only
1027  * (the "License").  You may not use this file except in compliance
1028  * with the License.
1029  *
1030  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1031  * or http://www.opensolaris.org/os/licensing.
1032  * See the License for the specific language governing permissions
1033  * and limitations under the License.
1034  *
1035  * When distributing Covered Code, include this CDDL HEADER in each
1036  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1037  * If applicable, add the following below this CDDL HEADER, with the
1038  * fields enclosed by brackets "[]" replaced with your own identifying
1039  * information: Portions Copyright [yyyy] [name of copyright owner]
1040  *
1041  * CDDL HEADER END
1042  */
1043 /*
1044  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
1045  * Use is subject to license terms.
1046  */
1047 
1048 
1049 
1050 
1051 #pragma ident "%Z%%M%	%I%	%E% SMI"
1052 # 42 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio_tag.h"
1053 typedef struct __FILE __FILE;
1054 # 56 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdio_iso.h" 2
1055 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio_impl.h" 1
1056 /*
1057  * CDDL HEADER START
1058  *
1059  * The contents of this file are subject to the terms of the
1060  * Common Development and Distribution License (the "License").
1061  * You may not use this file except in compliance with the License.
1062  *
1063  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1064  * or http://www.opensolaris.org/os/licensing.
1065  * See the License for the specific language governing permissions
1066  * and limitations under the License.
1067  *
1068  * When distributing Covered Code, include this CDDL HEADER in each
1069  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1070  * If applicable, add the following below this CDDL HEADER, with the
1071  * fields enclosed by brackets "[]" replaced with your own identifying
1072  * information: Portions Copyright [yyyy] [name of copyright owner]
1073  *
1074  * CDDL HEADER END
1075  */
1076 
1077 /*
1078  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
1079  * Use is subject to license terms.
1080  */
1081 
1082 
1083 
1084 
1085 #pragma ident "%Z%%M%	%I%	%E% SMI"
1086 
1087 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/isa_defs.h" 1
1088 /*
1089  * CDDL HEADER START
1090  *
1091  * The contents of this file are subject to the terms of the
1092  * Common Development and Distribution License (the "License").
1093  * You may not use this file except in compliance with the License.
1094  *
1095  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1096  * or http://www.opensolaris.org/os/licensing.
1097  * See the License for the specific language governing permissions
1098  * and limitations under the License.
1099  *
1100  *
1101  * When distributing Covered Code, include this CDDL HEADER in each
1102  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1103  * If applicable, add the following below this CDDL HEADER, with the
1104  * fields enclosed by brackets "[]" replaced with your own identifying
1105  * information: Portions Copyright [yyyy] [name of copyright owner]
1106  *
1107  * CDDL HEADER END
1108  */
1109 
1110 /*
1111  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
1112  * Use is subject to license terms.
1113  * Copyright 2016 Joyent, Inc.
1114  */
1115 # 33 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio_impl.h" 2
1116 # 50 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio_impl.h"
1117 struct __FILE /* needs to be binary-compatible with old versions */
1118 {
1119 
1120 
1121 
1122 
1123  int _cnt; /* number of available characters in buffer */
1124  unsigned char *_ptr; /* next character from/to here in buffer */
1125 
1126  unsigned char *_base; /* the buffer */
1127  unsigned char _flag; /* the state of the stream */
1128  unsigned char _magic; /* Old home of the file descriptor */
1129     /* Only fileno(3C) can retrieve the value now */
1130  unsigned __orientation:2; /* the orientation of the stream */
1131  unsigned __ionolock:1; /* turn off implicit locking */
1132  unsigned __seekable:1; /* is file seekable? */
1133  unsigned __extendedfd:1; /* enable extended FILE */
1134  unsigned __xf_nocheck:1; /* no extended FILE runtime check */
1135  unsigned __filler:10;
1136 };
1137 # 57 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdio_iso.h" 2
1138 
1139 /*
1140  * If feature test macros are set that enable interfaces that use types
1141  * defined in <sys/types.h>, get those types by doing the include.
1142  *
1143  * Note that in asking for the interfaces associated with this feature test
1144  * macro one also asks for definitions of the POSIX types.
1145  */
1146 
1147 
1148 
1149 
1150 
1151 
1152 /*
1153  * The following typedefs are adopted from ones in <sys/types.h> (with leading
1154  * underscores added to avoid polluting the ANSI C name space).  See the
1155  * commentary there for further explanation.
1156  */
1157 
1158 typedef long long __longlong_t;
1159 # 93 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdio_iso.h"
1160 typedef __FILE FILE;
1161 
1162 
1163 
1164 
1165 
1166 
1167 
1168 typedef unsigned int size_t; /* (historical version) */
1169 
1170 
1171 
1172 
1173 
1174 
1175 typedef __longlong_t fpos_t;
1176 # 117 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdio_iso.h"
1177 /*
1178  * The value of _NFILE is defined in the Processor Specific ABI.  The value
1179  * is chosen for historical reasons rather than for truly processor related
1180  * attribute.  Note that the SPARC Processor Specific ABI uses the common
1181  * UNIX historical value of 20 so it is allowed to fall through.
1182  */
1183 # 156 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdio_iso.h"
1184 extern __FILE __iob[60];
1185 # 191 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdio_iso.h"
1186 extern int remove(const char *);
1187 extern int rename(const char *, const char *);
1188 extern FILE *tmpfile(void);
1189 extern char *tmpnam(char *);
1190 extern int fclose(FILE *);
1191 extern int fflush(FILE *);
1192 extern FILE *fopen(const char *, const char *);
1193 extern FILE *freopen(const char *,
1194    const char *, FILE *);
1195 extern void setbuf(FILE *, char *);
1196 extern int setvbuf(FILE *, char *, int,
1197    size_t);
1198 /* PRINTFLIKE2 */
1199 extern int fprintf(FILE *, const char *, ...);
1200 /* SCANFLIKE2 */
1201 extern int fscanf(FILE *, const char *, ...);
1202 /* PRINTFLIKE1 */
1203 extern int printf(const char *, ...);
1204 /* SCANFLIKE1 */
1205 extern int scanf(const char *, ...);
1206 /* PRINTFLIKE2 */
1207 extern int sprintf(char *, const char *, ...);
1208 /* SCANFLIKE2 */
1209 extern int sscanf(const char *,
1210    const char *, ...);
1211 extern int vfprintf(FILE *, const char *,
1212    __va_list);
1213 extern int vprintf(const char *, __va_list);
1214 extern int vsprintf(char *, const char *,
1215    __va_list);
1216 extern int fgetc(FILE *);
1217 extern char *fgets(char *, int, FILE *);
1218 extern int fputc(int, FILE *);
1219 extern int fputs(const char *, FILE *);
1220 
1221 
1222 extern int getc(FILE *);
1223 extern int putc(int, FILE *);
1224 
1225 
1226 
1227 extern int getchar(void);
1228 extern int putchar(int);
1229 
1230 
1231 /*
1232  * ISO/IEC C11 removed gets from the standard library. Therefore if a strict C11
1233  * environment has been requested, we remove it.
1234  */
1235 
1236 extern char *gets(char *);
1237 
1238 extern int puts(const char *);
1239 extern int ungetc(int, FILE *);
1240 extern size_t fread(void *, size_t, size_t,
1241  FILE *);
1242 extern size_t fwrite(const void *, size_t, size_t,
1243  FILE *);
1244 
1245 extern int fgetpos(FILE *, fpos_t *);
1246 extern int fsetpos(FILE *, const fpos_t *);
1247 
1248 extern int fseek(FILE *, long, int);
1249 extern long ftell(FILE *);
1250 extern void rewind(FILE *);
1251 
1252 
1253 extern void clearerr(FILE *);
1254 extern int feof(FILE *);
1255 extern int ferror(FILE *);
1256 
1257 extern void perror(const char *);
1258 
1259 
1260 extern int __filbuf(FILE *);
1261 extern int __flsbuf(int, FILE *);
1262 # 83 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h" 2
1263 
1264 /*
1265  * If feature test macros are set that enable interfaces that use types
1266  * defined in <sys/types.h>, get those types by doing the include.
1267  *
1268  * Note that in asking for the interfaces associated with this feature test
1269  * macro one also asks for definitions of the POSIX types.
1270  */
1271 
1272 /*
1273  * Allow global visibility for symbols defined in
1274  * C++ "std" namespace in <iso/stdio_iso.h>.
1275  */
1276 # 147 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
1277 /*
1278  * This header needs to be included here because it relies on the global
1279  * visibility of FILE and size_t in the C++ environment.
1280  */
1281 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdio_c99.h" 1
1282 /*
1283  * CDDL HEADER START
1284  *
1285  * The contents of this file are subject to the terms of the
1286  * Common Development and Distribution License, Version 1.0 only
1287  * (the "License").  You may not use this file except in compliance
1288  * with the License.
1289  *
1290  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1291  * or http://www.opensolaris.org/os/licensing.
1292  * See the License for the specific language governing permissions
1293  * and limitations under the License.
1294  *
1295  * When distributing Covered Code, include this CDDL HEADER in each
1296  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1297  * If applicable, add the following below this CDDL HEADER, with the
1298  * fields enclosed by brackets "[]" replaced with your own identifying
1299  * information: Portions Copyright [yyyy] [name of copyright owner]
1300  *
1301  * CDDL HEADER END
1302  */
1303 /*
1304  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
1305  *
1306  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
1307  * Use is subject to license terms.
1308  */
1309 
1310 /*
1311  * An application should not include this header directly.  Instead it
1312  * should be included only through the inclusion of other Sun headers.
1313  *
1314  * The contents of this header is limited to identifiers specified in
1315  * the C99 standard and in conflict with the C++ implementation of the
1316  * standard header.  The C++ standard may adopt the C99 standard at
1317  * which point it is expected that the symbols included here will
1318  * become part of the C++ std namespace.
1319  */
1320 # 47 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdio_c99.h"
1321 /*
1322  * The following have been added as a result of the ISO/IEC 9899:1999
1323  * standard. For a strictly conforming C application, visibility is
1324  * contingent on the value of __STDC_VERSION__ (see sys/feature_tests.h).
1325  * For non-strictly conforming C applications, there are no restrictions
1326  * on the C namespace.
1327  */
1328 # 74 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdio_c99.h"
1329 extern int vfscanf(FILE *, const char *, __va_list);
1330 extern int vscanf(const char *, __va_list);
1331 extern int vsscanf(const char *, const char *,
1332   __va_list);
1333 
1334 
1335 
1336 
1337 extern int snprintf(char *, size_t, const char *,
1338  ...);
1339 extern int vsnprintf(char *, size_t, const char *,
1340  __va_list);
1341 # 152 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h" 2
1342 # 163 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
1343 typedef __longlong_t off_t;
1344 
1345 
1346 
1347 
1348 
1349 typedef __longlong_t off64_t;
1350 # 179 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
1351 typedef __longlong_t fpos64_t;
1352 
1353 
1354 
1355 /*
1356  * XPG4 requires that va_list be defined in <stdio.h> "as described in
1357  * <stdarg.h>".  ANSI-C and POSIX require that the namespace of <stdio.h>
1358  * not be polluted with this name.
1359  */
1360 # 198 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
1361 /* Marked LEGACY in SUSv2 and removed in SUSv3 */
1362 # 213 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
1363 extern unsigned char _sibuf[], _sobuf[];
1364 
1365 
1366 /* large file compilation environment setup */
1367 # 237 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
1368 extern unsigned char *_bufendtab[];
1369 extern FILE *_lastbuf;
1370 
1371 
1372 /* In the LP64 compilation environment, all APIs are already large file */
1373 # 261 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
1374 typedef int ssize_t; /* (historical version) */
1375 
1376 
1377 
1378 
1379 
1380 
1381 extern char *tmpnam_r(char *);
1382 
1383 
1384 
1385 
1386 extern int fcloseall(void);
1387 extern void setbuffer(FILE *, char *, size_t);
1388 extern int setlinebuf(FILE *);
1389 /* PRINTFLIKE2 */
1390 extern int asprintf(char **, const char *, ...);
1391 /* PRINTFLIKE2 */
1392 extern int vasprintf(char **, const char *, __va_list);
1393 
1394 
1395 
1396 
1397  /* || defined(_XPG7) */
1398 extern ssize_t getdelim(char **, size_t *,
1399  int, FILE *);
1400 extern ssize_t getline(char **, size_t *,
1401  FILE *);
1402 
1403 
1404 /*
1405  * The following are known to POSIX and XOPEN, but not to ANSI-C.
1406  */
1407 
1408 
1409 
1410 extern FILE *fdopen(int, const char *);
1411 extern char *ctermid(char *);
1412 extern int fileno(FILE *);
1413 
1414 
1415 
1416 /*
1417  * The following are known to POSIX.1c, but not to ANSI-C or XOPEN.
1418  */
1419 # 318 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h"
1420 /*
1421  * The following are known to XOPEN, but not to ANSI-C or POSIX.
1422  */
1423 
1424 
1425 extern FILE *popen(const char *, const char *);
1426 extern char *tempnam(const char *, const char *);
1427 extern int pclose(FILE *);
1428 
1429 extern int getsubopt(char **, char *const *, char **);
1430 
1431 
1432 /* Marked LEGACY in SUSv2 and removed in SUSv3 */
1433 
1434 extern char *cuserid(char *);
1435 extern int getopt(int, char *const *, const char *);
1436 extern char *optarg;
1437 extern int optind, opterr, optopt;
1438 extern int getw(FILE *);
1439 extern int putw(int, FILE *);
1440 
1441 
1442 
1443 
1444 /*
1445  * The following are defined as part of the Large File Summit interfaces.
1446  */
1447 
1448 extern int fseeko(FILE *, off_t, int);
1449 extern off_t ftello(FILE *);
1450 
1451 
1452 /*
1453  * The following are defined as part of the transitional Large File Summit
1454  * interfaces.
1455  */
1456 
1457 
1458 extern FILE *fopen64(const char *, const char *);
1459 extern FILE *freopen64(const char *, const char *, FILE *);
1460 extern FILE *tmpfile64(void);
1461 extern int fgetpos64(FILE *, fpos64_t *);
1462 extern int fsetpos64(FILE *, const fpos64_t *);
1463 extern int fseeko64(FILE *, off64_t, int);
1464 extern off64_t ftello64(FILE *);
1465 
1466 
1467 /*
1468  * XPG7 symbols
1469  */
1470 
1471 extern FILE *fmemopen(void *, size_t,
1472       const char *);
1473 extern FILE *open_memstream(char **, size_t *);
1474 # 32 "pkgname.c" 2
1475 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h" 1
1476 /*
1477  * CDDL HEADER START
1478  *
1479  * The contents of this file are subject to the terms of the
1480  * Common Development and Distribution License (the "License").
1481  * You may not use this file except in compliance with the License.
1482  *
1483  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1484  * or http://www.opensolaris.org/os/licensing.
1485  * See the License for the specific language governing permissions
1486  * and limitations under the License.
1487  *
1488  * When distributing Covered Code, include this CDDL HEADER in each
1489  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1490  * If applicable, add the following below this CDDL HEADER, with the
1491  * fields enclosed by brackets "[]" replaced with your own identifying
1492  * information: Portions Copyright [yyyy] [name of copyright owner]
1493  *
1494  * CDDL HEADER END
1495  */
1496 
1497 /*
1498  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
1499  * Copyright (c) 2013 Gary Mills
1500  *
1501  * Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
1502  */
1503 
1504 /* Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved. */
1505 
1506 /*	Copyright (c) 1988 AT&T	*/
1507 /*	  All Rights Reserved  	*/
1508 
1509 
1510 
1511 
1512 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdlib_iso.h" 1
1513 /*
1514  * CDDL HEADER START
1515  *
1516  * The contents of this file are subject to the terms of the
1517  * Common Development and Distribution License, Version 1.0 only
1518  * (the "License").  You may not use this file except in compliance
1519  * with the License.
1520  *
1521  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1522  * or http://www.opensolaris.org/os/licensing.
1523  * See the License for the specific language governing permissions
1524  * and limitations under the License.
1525  *
1526  * When distributing Covered Code, include this CDDL HEADER in each
1527  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1528  * If applicable, add the following below this CDDL HEADER, with the
1529  * fields enclosed by brackets "[]" replaced with your own identifying
1530  * information: Portions Copyright [yyyy] [name of copyright owner]
1531  *
1532  * CDDL HEADER END
1533  */
1534 /*
1535  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
1536  * Copyright 2014 PALO, Richard.
1537  *
1538  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
1539  * Use is subject to license terms.
1540  */
1541 
1542 /*	Copyright (c) 1988 AT&T	*/
1543 /*	  All Rights Reserved  	*/
1544 
1545 
1546 /*
1547  * An application should not include this header directly.  Instead it
1548  * should be included only through the inclusion of other Sun headers.
1549  *
1550  * The contents of this header is limited to identifiers specified in the
1551  * C Standard.  Any new identifiers specified in future amendments to the
1552  * C Standard must be placed in this header.  If these new identifiers
1553  * are required to also be in the C++ Standard "std" namespace, then for
1554  * anything other than macro definitions, corresponding "using" directives
1555  * must also be added to <locale.h>.
1556  */
1557 
1558 
1559 
1560 
1561 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
1562 /*
1563  * CDDL HEADER START
1564  *
1565  * The contents of this file are subject to the terms of the
1566  * Common Development and Distribution License (the "License").
1567  * You may not use this file except in compliance with the License.
1568  *
1569  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1570  * or http://www.opensolaris.org/os/licensing.
1571  * See the License for the specific language governing permissions
1572  * and limitations under the License.
1573  *
1574  * When distributing Covered Code, include this CDDL HEADER in each
1575  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1576  * If applicable, add the following below this CDDL HEADER, with the
1577  * fields enclosed by brackets "[]" replaced with your own identifying
1578  * information: Portions Copyright [yyyy] [name of copyright owner]
1579  *
1580  * CDDL HEADER END
1581  */
1582 
1583 /*
1584  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
1585  * Copyright 2016 Joyent, Inc.
1586  *
1587  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
1588  * Use is subject to license terms.
1589  */
1590 # 50 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdlib_iso.h" 2
1591 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/null.h" 1
1592 /*
1593  * This file and its contents are supplied under the terms of the
1594  * Common Development and Distribution License ("CDDL"), version 1.0.
1595  * You may only use this file in accordance with the terms of version
1596  * 1.0 of the CDDL.
1597  *
1598  * A full copy of the text of the CDDL should have accompanied this
1599  * source.  A copy of the CDDL is also available via the Internet at
1600  * http://www.illumos.org/license/CDDL.
1601  */
1602 
1603 /*
1604  * Copyright 2014-2016 PALO, Richard.
1605  */
1606 # 51 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdlib_iso.h" 2
1607 
1608 
1609 
1610 
1611 
1612 unsigned char __mb_cur_max(void);
1613 # 65 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdlib_iso.h"
1614 typedef struct {
1615  int quot;
1616  int rem;
1617 } div_t;
1618 
1619 typedef struct {
1620  long quot;
1621  long rem;
1622 } ldiv_t;
1623 # 88 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdlib_iso.h"
1624 /*
1625  * wchar_t is a built-in type in standard C++ and as such is not
1626  * defined here when using standard C++. However, the GNU compiler
1627  * fixincludes utility nonetheless creates its own version of this
1628  * header for use by gcc and g++. In that version it adds a redundant
1629  * guard for __cplusplus. To avoid the creation of a gcc/g++ specific
1630  * header we need to include the following magic comment:
1631  *
1632  * we must use the C++ compiler's type
1633  *
1634  * The above comment should not be removed or changed until GNU
1635  * gcc/fixinc/inclhack.def is updated to bypass this header.
1636  */
1637 
1638 
1639 
1640 
1641 
1642 
1643 typedef long wchar_t;
1644 # 120 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdlib_iso.h"
1645 extern void abort(void) __attribute__((__noreturn__));
1646 extern int abs(int);
1647 extern int atexit(void (*)(void));
1648 extern double atof(const char *);
1649 extern int atoi(const char *);
1650 extern long int atol(const char *);
1651 extern void *bsearch(const void *, const void *, size_t, size_t,
1652  int (*)(const void *, const void *));
1653 
1654 
1655 
1656 
1657 
1658 
1659 extern void *calloc(size_t, size_t);
1660 extern div_t div(int, int);
1661 extern void exit(int)
1662  __attribute__((__noreturn__));
1663 extern void free(void *);
1664 extern char *getenv(const char *);
1665 extern long int labs(long);
1666 extern ldiv_t ldiv(long, long);
1667 extern void *malloc(size_t);
1668 extern int mblen(const char *, size_t);
1669 extern size_t mbstowcs(wchar_t *, const char *,
1670  size_t);
1671 extern int mbtowc(wchar_t *, const char *, size_t);
1672 extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *));
1673 
1674 
1675 
1676 
1677 
1678 extern int rand(void);
1679 extern void *realloc(void *, size_t);
1680 extern void srand(unsigned int);
1681 extern double strtod(const char *, char **);
1682 extern long int strtol(const char *, char **, int);
1683 extern unsigned long int strtoul(const char *,
1684  char **, int);
1685 extern int system(const char *);
1686 extern int wctomb(char *, wchar_t);
1687 extern size_t wcstombs(char *, const wchar_t *,
1688  size_t);
1689 # 38 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h" 2
1690 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdlib_c99.h" 1
1691 /*
1692  * CDDL HEADER START
1693  *
1694  * The contents of this file are subject to the terms of the
1695  * Common Development and Distribution License, Version 1.0 only
1696  * (the "License").  You may not use this file except in compliance
1697  * with the License.
1698  *
1699  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1700  * or http://www.opensolaris.org/os/licensing.
1701  * See the License for the specific language governing permissions
1702  * and limitations under the License.
1703  *
1704  * When distributing Covered Code, include this CDDL HEADER in each
1705  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1706  * If applicable, add the following below this CDDL HEADER, with the
1707  * fields enclosed by brackets "[]" replaced with your own identifying
1708  * information: Portions Copyright [yyyy] [name of copyright owner]
1709  *
1710  * CDDL HEADER END
1711  */
1712 /*
1713  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
1714  *
1715  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
1716  * Use is subject to license terms.
1717  */
1718 
1719 /*
1720  * An application should not include this header directly.  Instead it
1721  * should be included only through the inclusion of other Sun headers.
1722  *
1723  * The contents of this header is limited to identifiers specified in
1724  * the C99 standard and in conflict with the C++ implementation of the
1725  * standard header.  The C++ standard may adopt the C99 standard at
1726  * which point it is expected that the symbols included here will
1727  * become part of the C++ std namespace.
1728  */
1729 
1730 
1731 
1732 
1733 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
1734 /*
1735  * CDDL HEADER START
1736  *
1737  * The contents of this file are subject to the terms of the
1738  * Common Development and Distribution License (the "License").
1739  * You may not use this file except in compliance with the License.
1740  *
1741  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1742  * or http://www.opensolaris.org/os/licensing.
1743  * See the License for the specific language governing permissions
1744  * and limitations under the License.
1745  *
1746  * When distributing Covered Code, include this CDDL HEADER in each
1747  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1748  * If applicable, add the following below this CDDL HEADER, with the
1749  * fields enclosed by brackets "[]" replaced with your own identifying
1750  * information: Portions Copyright [yyyy] [name of copyright owner]
1751  *
1752  * CDDL HEADER END
1753  */
1754 
1755 /*
1756  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
1757  * Copyright 2016 Joyent, Inc.
1758  *
1759  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
1760  * Use is subject to license terms.
1761  */
1762 # 44 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdlib_c99.h" 2
1763 
1764 
1765 
1766 
1767 
1768 /*
1769  * The following have been added as a result of the ISO/IEC 9899:1999
1770  * standard. For a strictly conforming C application, visibility is
1771  * contingent on the value of __STDC_VERSION__ (see sys/feature_tests.h).
1772  * For non-strictly conforming C applications, there are no restrictions
1773  * on the C namespace.
1774  */
1775 
1776 
1777 typedef struct {
1778  long long quot;
1779  long long rem;
1780 } lldiv_t;
1781 # 75 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdlib_c99.h"
1782 extern void _Exit(int);
1783 extern float strtof(const char *, char **);
1784 extern long double strtold(const char *, char **);
1785 
1786 
1787 extern long long atoll(const char *);
1788 extern long long llabs(long long);
1789 extern lldiv_t lldiv(long long, long long);
1790 extern long long strtoll(const char *, char **,
1791  int);
1792 extern unsigned long long strtoull(const char *,
1793  char **, int);
1794 # 39 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h" 2
1795 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdlib_c11.h" 1
1796 /*
1797  * This file and its contents are supplied under the terms of the
1798  * Common Development and Distribution License ("CDDL"), version 1.0.
1799  * You may only use this file in accordance with the terms of version
1800  * 1.0 of the CDDL.
1801  *
1802  * A full copy of the text of the CDDL should have accompanied this
1803  * source.  A copy of the CDDL is also available via the Internet at
1804  * http://www.illumos.org/license/CDDL.
1805  */
1806 
1807 /*
1808  * Copyright 2016 Joyent, Inc.
1809  */
1810 
1811 /*
1812  * An application should not include this header directly.  Instead it
1813  * should be included only through the inclusion of other illumos headers.
1814  *
1815  * The contents of this header is limited to identifiers specified in
1816  * the C11 standard and in conflict with the C++ implementation of the
1817  * standard header.  The C++ standard may adopt the C11 standard at
1818  * which point it is expected that the symbols included here will
1819  * become part of the C++ std namespace.
1820  */
1821 
1822 
1823 
1824 
1825 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
1826 /*
1827  * CDDL HEADER START
1828  *
1829  * The contents of this file are subject to the terms of the
1830  * Common Development and Distribution License (the "License").
1831  * You may not use this file except in compliance with the License.
1832  *
1833  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1834  * or http://www.opensolaris.org/os/licensing.
1835  * See the License for the specific language governing permissions
1836  * and limitations under the License.
1837  *
1838  * When distributing Covered Code, include this CDDL HEADER in each
1839  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1840  * If applicable, add the following below this CDDL HEADER, with the
1841  * fields enclosed by brackets "[]" replaced with your own identifying
1842  * information: Portions Copyright [yyyy] [name of copyright owner]
1843  *
1844  * CDDL HEADER END
1845  */
1846 
1847 /*
1848  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
1849  * Copyright 2016 Joyent, Inc.
1850  *
1851  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
1852  * Use is subject to license terms.
1853  */
1854 # 31 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdlib_c11.h" 2
1855 # 40 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdlib_c11.h"
1856 /*
1857  * The following have been added as a result of the ISO/IEC 9899:2011
1858  * standard. For a strictly conforming C application, visibility is
1859  * contingent on the value of __STDC_VERSION__ (see sys/feature_tests.h).
1860  * For non-strictly conforming C applications, there are no restrictions
1861  * on the C namespace.
1862  */
1863 
1864 /*
1865  * Work around fix-includes and other bad actors with using multiple headers.
1866  */
1867 # 60 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/stdlib_c11.h"
1868 extern void *aligned_alloc(size_t, size_t);
1869 extern int at_quick_exit(void (*)(void));
1870 extern void quick_exit(int);
1871 # 40 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h" 2
1872 
1873 
1874 
1875 
1876 
1877 /*
1878  * Allow global visibility for symbols defined in
1879  * C++ "std" namespace in <iso/stdlib_iso.h>.
1880  */
1881 # 83 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h"
1882 /*
1883  * Allow global visibility for symbols defined in
1884  * C++ "std" namespace in <iso/stdlib_c11.h>.
1885  */
1886 # 101 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h"
1887 typedef unsigned int uid_t; /* UID type		*/
1888 
1889 
1890 /* large file compilation environment setup */
1891 
1892 
1893 
1894 
1895 # 108 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h"
1896 #pragma redefine_extname mkstemp mkstemp64
1897 # 108 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h"
1898 
1899 
1900 # 109 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h"
1901 #pragma redefine_extname mkstemps mkstemps64
1902 # 109 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h"
1903 
1904 
1905 # 110 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h"
1906 #pragma redefine_extname mkostemp mkostemp64
1907 # 110 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h"
1908 
1909 
1910 # 111 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h"
1911 #pragma redefine_extname mkostemps mkostemps64
1912 # 111 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h"
1913 # 121 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h"
1914 /* In the LP64 compilation environment, all APIs are already large file */
1915 # 141 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h"
1916 extern int rand_r(unsigned int *);
1917 
1918 
1919 extern void _exithandle(void);
1920 
1921 
1922 
1923 
1924 extern double drand48(void);
1925 extern double erand48(unsigned short *);
1926 extern long jrand48(unsigned short *);
1927 extern void lcong48(unsigned short *);
1928 extern long lrand48(void);
1929 extern long mrand48(void);
1930 extern long nrand48(unsigned short *);
1931 extern unsigned short *seed48(unsigned short *);
1932 extern void srand48(long);
1933 extern int putenv(char *);
1934 extern void setkey(const char *);
1935 
1936 
1937 /*
1938  * swab() has historically been in <stdlib.h> as delivered from AT&T
1939  * and continues to be visible in the default compilation environment.
1940  * As of Issue 4 of the X/Open Portability Guides, swab() was declared
1941  * in <unistd.h>. As a result, with respect to X/Open namespace the
1942  * swab() declaration in this header is only visible for the XPG3
1943  * environment.
1944  */
1945 # 182 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h"
1946 extern void swab(const char *, char *, ssize_t);
1947 
1948 
1949 
1950 
1951 
1952 extern int mkstemp(char *);
1953 
1954 extern int mkstemps(char *, int);
1955 
1956 
1957 
1958 
1959 
1960 extern int mkstemp64(char *);
1961 
1962 extern int mkstemps64(char *, int);
1963 
1964 
1965 
1966 
1967 extern char *mkdtemp(char *);
1968 
1969 
1970 
1971 extern int mkostemp(char *, int);
1972 extern int mkostemps(char *, int, int);
1973 
1974 
1975 extern int mkostemp64(char *, int);
1976 extern int mkostemps64(char *, int, int);
1977 
1978 
1979 
1980 
1981 
1982 
1983 extern long a64l(const char *);
1984 extern char *ecvt(double, int, int *, int *);
1985 extern char *fcvt(double, int, int *, int *);
1986 extern char *gcvt(double, int, char *);
1987 extern int getsubopt(char **, char *const *, char **);
1988 extern int grantpt(int);
1989 extern char *initstate(unsigned, char *, size_t);
1990 extern char *l64a(long);
1991 extern char *mktemp(char *);
1992 extern char *ptsname(int);
1993 extern long random(void);
1994 extern char *realpath(const char *, char *);
1995 extern char *setstate(const char *);
1996 extern void srandom(unsigned);
1997 extern int unlockpt(int);
1998 /* Marked LEGACY in SUSv2 and removed in SUSv3 */
1999 
2000 extern int ttyslot(void);
2001 extern void *valloc(size_t);
2002 
2003 
2004 
2005 
2006 
2007 
2008 extern int posix_memalign(void **, size_t, size_t);
2009 extern int posix_openpt(int);
2010 extern int setenv(const char *, const char *, int);
2011 extern int unsetenv(const char *);
2012 
2013 
2014 
2015 
2016 extern char *canonicalize_file_name(const char *);
2017 extern int clearenv(void);
2018 extern void closefrom(int);
2019 extern int daemon(int, int);
2020 extern int dup2(int, int);
2021 extern int dup3(int, int, int);
2022 extern int fdwalk(int (*)(void *, int), void *);
2023 extern char *qecvt(long double, int, int *, int *);
2024 extern char *qfcvt(long double, int, int *, int *);
2025 extern char *qgcvt(long double, int, char *);
2026 extern char *getcwd(char *, size_t);
2027 extern const char *getexecname(void);
2028 
2029 
2030 
2031 
2032 
2033 
2034 # 269 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h"
2035 #pragma redefine_extname getlogin getloginx
2036 # 269 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h"
2037 
2038 
2039 
2040 
2041 
2042 
2043 extern char *getlogin(void);
2044 
2045 
2046 extern int getopt(int, char *const *, const char *);
2047 extern char *optarg;
2048 extern int optind, opterr, optopt;
2049 extern char *getpass(const char *);
2050 extern char *getpassphrase(const char *);
2051 extern int getpw(uid_t, char *);
2052 extern int isatty(int);
2053 extern void *memalign(size_t, size_t);
2054 extern char *ttyname(int);
2055 extern char *mkdtemp(char *);
2056 extern const char *getprogname(void);
2057 extern void setprogname(const char *);
2058 
2059 
2060 extern char *lltostr(long long, char *);
2061 extern char *ulltostr(unsigned long long, char *);
2062 
2063 
2064 
2065 
2066 /* OpenBSD compatibility functions */
2067 
2068 
2069 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/inttypes.h" 1
2070 /*
2071  * CDDL HEADER START
2072  *
2073  * The contents of this file are subject to the terms of the
2074  * Common Development and Distribution License, Version 1.0 only
2075  * (the "License").  You may not use this file except in compliance
2076  * with the License.
2077  *
2078  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2079  * or http://www.opensolaris.org/os/licensing.
2080  * See the License for the specific language governing permissions
2081  * and limitations under the License.
2082  *
2083  * When distributing Covered Code, include this CDDL HEADER in each
2084  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2085  * If applicable, add the following below this CDDL HEADER, with the
2086  * fields enclosed by brackets "[]" replaced with your own identifying
2087  * information: Portions Copyright [yyyy] [name of copyright owner]
2088  *
2089  * CDDL HEADER END
2090  */
2091 /*
2092  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
2093  *
2094  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
2095  * Use is subject to license terms.
2096  */
2097 
2098 
2099 
2100 
2101 /*
2102  * This file, <inttypes.h>, is specified by the ISO C standard,
2103  * standard, ISO/IEC 9899:1999 Programming language - C and is
2104  * also defined by SUSv3.
2105  *
2106  * ISO	  International Organization for Standardization.
2107  * SUSv3  Single Unix Specification, Version 3
2108  */
2109 
2110 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
2111 /*
2112  * CDDL HEADER START
2113  *
2114  * The contents of this file are subject to the terms of the
2115  * Common Development and Distribution License (the "License").
2116  * You may not use this file except in compliance with the License.
2117  *
2118  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2119  * or http://www.opensolaris.org/os/licensing.
2120  * See the License for the specific language governing permissions
2121  * and limitations under the License.
2122  *
2123  * When distributing Covered Code, include this CDDL HEADER in each
2124  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2125  * If applicable, add the following below this CDDL HEADER, with the
2126  * fields enclosed by brackets "[]" replaced with your own identifying
2127  * information: Portions Copyright [yyyy] [name of copyright owner]
2128  *
2129  * CDDL HEADER END
2130  */
2131 
2132 /*
2133  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
2134  * Copyright 2016 Joyent, Inc.
2135  *
2136  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2137  * Use is subject to license terms.
2138  */
2139 # 42 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/inttypes.h" 2
2140 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/inttypes.h" 1
2141 /*
2142  * CDDL HEADER START
2143  *
2144  * The contents of this file are subject to the terms of the
2145  * Common Development and Distribution License, Version 1.0 only
2146  * (the "License").  You may not use this file except in compliance
2147  * with the License.
2148  *
2149  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2150  * or http://www.opensolaris.org/os/licensing.
2151  * See the License for the specific language governing permissions
2152  * and limitations under the License.
2153  *
2154  * When distributing Covered Code, include this CDDL HEADER in each
2155  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2156  * If applicable, add the following below this CDDL HEADER, with the
2157  * fields enclosed by brackets "[]" replaced with your own identifying
2158  * information: Portions Copyright [yyyy] [name of copyright owner]
2159  *
2160  * CDDL HEADER END
2161  */
2162 /*
2163  * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
2164  * Use is subject to license terms.
2165  */
2166 
2167 
2168 
2169 
2170 #pragma ident "%Z%%M%	%I%	%E% SMI"
2171 
2172 /*
2173  * This header, <sys/inttypes.h>, contains (through nested inclusion) the
2174  * vast majority of the facilities specified for <inttypes.h> as defined
2175  * by the ISO C Standard, ISO/IEC 9899:1999 Programming language - C.
2176  *
2177  * Kernel/Driver developers are encouraged to include this file to access
2178  * the fixed size types, limits and utility macros. Application developers
2179  * should use the standard defined header <inttypes.h>.
2180  */
2181 
2182 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
2183 /*
2184  * CDDL HEADER START
2185  *
2186  * The contents of this file are subject to the terms of the
2187  * Common Development and Distribution License (the "License").
2188  * You may not use this file except in compliance with the License.
2189  *
2190  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2191  * or http://www.opensolaris.org/os/licensing.
2192  * See the License for the specific language governing permissions
2193  * and limitations under the License.
2194  *
2195  * When distributing Covered Code, include this CDDL HEADER in each
2196  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2197  * If applicable, add the following below this CDDL HEADER, with the
2198  * fields enclosed by brackets "[]" replaced with your own identifying
2199  * information: Portions Copyright [yyyy] [name of copyright owner]
2200  *
2201  * CDDL HEADER END
2202  */
2203 
2204 /*
2205  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
2206  * Copyright 2016 Joyent, Inc.
2207  *
2208  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2209  * Use is subject to license terms.
2210  */
2211 # 43 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/inttypes.h" 2
2212 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_types.h" 1
2213 /*
2214  * CDDL HEADER START
2215  *
2216  * The contents of this file are subject to the terms of the
2217  * Common Development and Distribution License, Version 1.0 only
2218  * (the "License").  You may not use this file except in compliance
2219  * with the License.
2220  *
2221  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2222  * or http://www.opensolaris.org/os/licensing.
2223  * See the License for the specific language governing permissions
2224  * and limitations under the License.
2225  *
2226  * When distributing Covered Code, include this CDDL HEADER in each
2227  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2228  * If applicable, add the following below this CDDL HEADER, with the
2229  * fields enclosed by brackets "[]" replaced with your own identifying
2230  * information: Portions Copyright [yyyy] [name of copyright owner]
2231  *
2232  * CDDL HEADER END
2233  */
2234 /*
2235  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
2236  *
2237  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
2238  * Use is subject to license terms.
2239  */
2240 
2241 
2242 
2243 
2244 /*
2245  * This file, <sys/int_types.h>, is part of the Sun Microsystems implementation
2246  * of <inttypes.h> defined in the ISO C standard, ISO/IEC 9899:1999
2247  * Programming language - C.
2248  *
2249  * Programs/Modules should not directly include this file.  Access to the
2250  * types defined in this file should be through the inclusion of one of the
2251  * following files:
2252  *
2253  *	<sys/types.h>		Provides only the "_t" types defined in this
2254  *				file which is a subset of the contents of
2255  *				<inttypes.h>.  (This can be appropriate for
2256  *				all programs/modules except those claiming
2257  *				ANSI-C conformance.)
2258  *
2259  *	<sys/inttypes.h>	Provides the Kernel and Driver appropriate
2260  *				components of <inttypes.h>.
2261  *
2262  *	<inttypes.h>		For use by applications.
2263  *
2264  * See these files for more details.
2265  */
2266 
2267 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
2268 /*
2269  * CDDL HEADER START
2270  *
2271  * The contents of this file are subject to the terms of the
2272  * Common Development and Distribution License (the "License").
2273  * You may not use this file except in compliance with the License.
2274  *
2275  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2276  * or http://www.opensolaris.org/os/licensing.
2277  * See the License for the specific language governing permissions
2278  * and limitations under the License.
2279  *
2280  * When distributing Covered Code, include this CDDL HEADER in each
2281  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2282  * If applicable, add the following below this CDDL HEADER, with the
2283  * fields enclosed by brackets "[]" replaced with your own identifying
2284  * information: Portions Copyright [yyyy] [name of copyright owner]
2285  *
2286  * CDDL HEADER END
2287  */
2288 
2289 /*
2290  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
2291  * Copyright 2016 Joyent, Inc.
2292  *
2293  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2294  * Use is subject to license terms.
2295  */
2296 # 56 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_types.h" 2
2297 
2298 
2299 
2300 
2301 
2302 /*
2303  * Basic / Extended integer types
2304  *
2305  * The following defines the basic fixed-size integer types.
2306  *
2307  * Implementations are free to typedef them to Standard C integer types or
2308  * extensions that they support. If an implementation does not support one
2309  * of the particular integer data types below, then it should not define the
2310  * typedefs and macros corresponding to that data type.  Note that int8_t
2311  * is not defined in -Xs mode on ISAs for which the ABI specifies "char"
2312  * as an unsigned entity because there is no way to define an eight bit
2313  * signed integral.
2314  */
2315 
2316 typedef char int8_t;
2317 
2318 
2319 
2320 typedef short int16_t;
2321 typedef int int32_t;
2322 
2323 
2324 
2325 
2326 
2327 
2328 typedef long long int64_t;
2329 
2330 
2331 
2332 typedef unsigned char uint8_t;
2333 typedef unsigned short uint16_t;
2334 typedef unsigned int uint32_t;
2335 
2336 
2337 
2338 
2339 typedef unsigned long long uint64_t;
2340 
2341 
2342 
2343 /*
2344  * intmax_t and uintmax_t are to be the longest (in number of bits) signed
2345  * and unsigned integer types supported by the implementation.
2346  */
2347 
2348 typedef int64_t intmax_t;
2349 typedef uint64_t uintmax_t;
2350 
2351 
2352 
2353 
2354 
2355 /*
2356  * intptr_t and uintptr_t are signed and unsigned integer types large enough
2357  * to hold any data pointer; that is, data pointers can be assigned into or
2358  * from these integer types without losing precision.
2359  */
2360 
2361 
2362 
2363 
2364 typedef int intptr_t;
2365 typedef unsigned int uintptr_t;
2366 
2367 
2368 /*
2369  * The following define the fastest integer types that can hold the
2370  * specified number of bits.
2371  */
2372 
2373 typedef char int_fast8_t;
2374 
2375 
2376 
2377 typedef int int_fast16_t;
2378 typedef int int_fast32_t;
2379 
2380 
2381 
2382 
2383 typedef long long int_fast64_t;
2384 
2385 
2386 
2387 typedef unsigned char uint_fast8_t;
2388 typedef unsigned int uint_fast16_t;
2389 typedef unsigned int uint_fast32_t;
2390 
2391 
2392 
2393 
2394 typedef unsigned long long uint_fast64_t;
2395 
2396 
2397 
2398 /*
2399  * The following define the smallest integer types that can hold the
2400  * specified number of bits.
2401  */
2402 
2403 typedef char int_least8_t;
2404 
2405 
2406 
2407 typedef short int_least16_t;
2408 typedef int int_least32_t;
2409 
2410 
2411 
2412 
2413 typedef long long int_least64_t;
2414 
2415 
2416 
2417 /*
2418  * If these are changed, please update char16_t and char32_t in head/uchar.h.
2419  */
2420 typedef unsigned char uint_least8_t;
2421 typedef unsigned short uint_least16_t;
2422 typedef unsigned int uint_least32_t;
2423 
2424 
2425 
2426 
2427 typedef unsigned long long uint_least64_t;
2428 # 44 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/inttypes.h" 2
2429 
2430 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_limits.h" 1
2431 /*
2432  * CDDL HEADER START
2433  *
2434  * The contents of this file are subject to the terms of the
2435  * Common Development and Distribution License, Version 1.0 only
2436  * (the "License").  You may not use this file except in compliance
2437  * with the License.
2438  *
2439  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2440  * or http://www.opensolaris.org/os/licensing.
2441  * See the License for the specific language governing permissions
2442  * and limitations under the License.
2443  *
2444  * When distributing Covered Code, include this CDDL HEADER in each
2445  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2446  * If applicable, add the following below this CDDL HEADER, with the
2447  * fields enclosed by brackets "[]" replaced with your own identifying
2448  * information: Portions Copyright [yyyy] [name of copyright owner]
2449  *
2450  * CDDL HEADER END
2451  */
2452 /*
2453  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
2454  *
2455  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
2456  * Use is subject to license terms.
2457  */
2458 
2459 
2460 
2461 
2462 /*
2463  * This file, <sys/int_limits.h>, is part of the Sun Microsystems implementation
2464  * of <inttypes.h> as defined in the ISO C standard, ISO/IEC 9899:1999
2465  * Programming language - C.
2466  *
2467  * Programs/Modules should not directly include this file.  Access to the
2468  * types defined in this file should be through the inclusion of one of the
2469  * following files:
2470  *
2471  *	<limits.h>		This nested inclusion is disabled for strictly
2472  *				ANSI-C conforming compilations.  The *_MIN
2473  *				definitions are not visible to POSIX or XPG
2474  *				conforming applications (due to what may be
2475  *				a bug in the specification - this is under
2476  *				investigation)
2477  *
2478  *	<sys/inttypes.h>	Provides the Kernel and Driver appropriate
2479  *				components of <inttypes.h>.
2480  *
2481  *	<inttypes.h>		For use by applications.
2482  *
2483  * See these files for more details.
2484  */
2485 
2486 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
2487 /*
2488  * CDDL HEADER START
2489  *
2490  * The contents of this file are subject to the terms of the
2491  * Common Development and Distribution License (the "License").
2492  * You may not use this file except in compliance with the License.
2493  *
2494  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2495  * or http://www.opensolaris.org/os/licensing.
2496  * See the License for the specific language governing permissions
2497  * and limitations under the License.
2498  *
2499  * When distributing Covered Code, include this CDDL HEADER in each
2500  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2501  * If applicable, add the following below this CDDL HEADER, with the
2502  * fields enclosed by brackets "[]" replaced with your own identifying
2503  * information: Portions Copyright [yyyy] [name of copyright owner]
2504  *
2505  * CDDL HEADER END
2506  */
2507 
2508 /*
2509  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
2510  * Copyright 2016 Joyent, Inc.
2511  *
2512  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2513  * Use is subject to license terms.
2514  */
2515 # 57 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_limits.h" 2
2516 
2517 
2518 
2519 
2520 
2521 /*
2522  * Limits
2523  *
2524  * The following define the limits for the types defined in <sys/int_types.h>.
2525  *
2526  * INTMAX_MIN (minimum value of the largest supported signed integer type),
2527  * INTMAX_MAX (maximum value of the largest supported signed integer type),
2528  * and UINTMAX_MAX (maximum value of the largest supported unsigned integer
2529  * type) can be set to implementation defined limits.
2530  *
2531  * NOTE : A programmer can test to see whether an implementation supports
2532  * a particular size of integer by testing if the macro that gives the
2533  * maximum for that datatype is defined. For example, if #ifdef UINT64_MAX
2534  * tests false, the implementation does not support unsigned 64 bit integers.
2535  *
2536  * The type of these macros is intentionally unspecified.
2537  *
2538  * The types int8_t, int_least8_t, and int_fast8_t are not defined for ISAs
2539  * where the ABI specifies "char" as unsigned when the translation mode is
2540  * not ANSI-C.
2541  */
2542 # 141 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_limits.h"
2543 /*
2544  * The following 2 macros are provided for testing whether the types
2545  * intptr_t and uintptr_t (integers large enough to hold a void *) are
2546  * defined in this header. They are needed in case the architecture can't
2547  * represent a pointer in any standard integral type.
2548  */
2549 # 155 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_limits.h"
2550 /* Maximum limits of ptrdiff_t defined in <sys/types.h> */
2551 
2552 
2553 
2554 
2555 
2556 
2557 /*
2558  * Maximum value of a "size_t".  SIZE_MAX was previously defined
2559  * in <limits.h>, however, the standards specify it be defined
2560  * in <stdint.h>. The <stdint.h> headers includes this header as
2561  * does <limits.h>. The value of SIZE_MAX should not deviate
2562  * from the value of ULONG_MAX defined <sys/types.h>.
2563  */
2564 
2565 
2566 
2567 
2568 
2569 
2570 /* Maximum limit of sig_atomic_t defined in <sys/types.h> */
2571 
2572 
2573 
2574 
2575 /*
2576  * Maximum limit of wchar_t. The WCHAR_* macros are also
2577  * defined in <iso/wchar_iso.h>, but inclusion of that header
2578  * will break ISO/IEC C namespace.
2579  */
2580 
2581 
2582 
2583 
2584 /* Maximum limit of wint_t */
2585 
2586 
2587 
2588 
2589 /*
2590  * It is probably a bug in the POSIX specification (IEEE-1003.1-1990) that
2591  * when including <limits.h> that the suffix _MAX is reserved but not the
2592  * suffix _MIN.  However, until that issue is resolved....
2593  */
2594 # 230 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_limits.h"
2595 /* Minimum value of a pointer-holding signed integer type */
2596 
2597 
2598 
2599 
2600 
2601 
2602 /* Minimum limits of ptrdiff_t defined in <sys/types.h> */
2603 
2604 
2605 
2606 
2607 
2608 
2609 /* Minimum limit of sig_atomic_t defined in <sys/types.h> */
2610 
2611 
2612 
2613 
2614 /*
2615  * Minimum limit of wchar_t. The WCHAR_* macros are also
2616  * defined in <iso/wchar_iso.h>, but inclusion of that header
2617  * will break ISO/IEC C namespace.
2618  */
2619 
2620 
2621 
2622 
2623 /* Minimum limit of wint_t */
2624 # 46 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/inttypes.h" 2
2625 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_const.h" 1
2626 /*
2627  * CDDL HEADER START
2628  *
2629  * The contents of this file are subject to the terms of the
2630  * Common Development and Distribution License, Version 1.0 only
2631  * (the "License").  You may not use this file except in compliance
2632  * with the License.
2633  *
2634  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2635  * or http://www.opensolaris.org/os/licensing.
2636  * See the License for the specific language governing permissions
2637  * and limitations under the License.
2638  *
2639  * When distributing Covered Code, include this CDDL HEADER in each
2640  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2641  * If applicable, add the following below this CDDL HEADER, with the
2642  * fields enclosed by brackets "[]" replaced with your own identifying
2643  * information: Portions Copyright [yyyy] [name of copyright owner]
2644  *
2645  * CDDL HEADER END
2646  */
2647 /*
2648  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
2649  *
2650  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
2651  * Use is subject to license terms.
2652  */
2653 
2654 
2655 
2656 
2657 /*
2658  * This file, <sys/int_const.h>, is part of the Sun Microsystems implementation
2659  * of <inttypes.h> as proposed in the ISO/JTC1/SC22/WG14 C committee's working
2660  * draft for the revision of the current ISO C standard, ISO/IEC 9899:1990
2661  * Programming language - C.
2662  *
2663  * Programs/Modules should not directly include this file.  Access to the
2664  * types defined in this file should be through the inclusion of one of the
2665  * following files:
2666  *
2667  *	<sys/inttypes.h>	Provides the Kernel and Driver appropriate
2668  *				components of <inttypes.h>.
2669  *
2670  *	<inttypes.h>		For use by applications.
2671  *
2672  * See these files for more details.
2673  *
2674  * Use at your own risk.  This file will track the evolution of the revision
2675  * of the current ISO C standard.  As of February 1996, the committee is
2676  * squarely behind the fixed sized types.
2677  */
2678 
2679 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
2680 /*
2681  * CDDL HEADER START
2682  *
2683  * The contents of this file are subject to the terms of the
2684  * Common Development and Distribution License (the "License").
2685  * You may not use this file except in compliance with the License.
2686  *
2687  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2688  * or http://www.opensolaris.org/os/licensing.
2689  * See the License for the specific language governing permissions
2690  * and limitations under the License.
2691  *
2692  * When distributing Covered Code, include this CDDL HEADER in each
2693  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2694  * If applicable, add the following below this CDDL HEADER, with the
2695  * fields enclosed by brackets "[]" replaced with your own identifying
2696  * information: Portions Copyright [yyyy] [name of copyright owner]
2697  *
2698  * CDDL HEADER END
2699  */
2700 
2701 /*
2702  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
2703  * Copyright 2016 Joyent, Inc.
2704  *
2705  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2706  * Use is subject to license terms.
2707  */
2708 # 55 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_const.h" 2
2709 
2710 
2711 
2712 
2713 
2714 /*
2715  * Constants
2716  *
2717  * The following macros create constants of the types defined in
2718  * <sys/int_types.h>. The intent is that:
2719  *	Constants defined using these macros have a specific size and
2720  *	signedness. The suffix used for int64_t and uint64_t (ll and ull)
2721  *	are for examples only. Implementations are permitted to use other
2722  *	suffixes.
2723  *
2724  * The "CSTYLED" comments are flags to an internal code style analysis tool
2725  * telling it to silently accept the line which follows.  This internal
2726  * standard requires a space between arguments, but the historical,
2727  * non-ANSI-C ``method'' of concatenation can't tolerate those spaces.
2728  */
2729 /* CSTYLED */
2730 # 86 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_const.h"
2731 /* CSTYLED */
2732 
2733 
2734 
2735 
2736 /* CSTYLED */
2737 
2738 /* CSTYLED */
2739 
2740 /* CSTYLED */
2741 
2742 
2743 
2744 
2745 
2746 
2747 /* CSTYLED */
2748 # 114 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_const.h"
2749 /* CSTYLED */
2750 
2751 /* CSTYLED */
2752 # 47 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/inttypes.h" 2
2753 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_fmtio.h" 1
2754 /*
2755  * CDDL HEADER START
2756  *
2757  * The contents of this file are subject to the terms of the
2758  * Common Development and Distribution License, Version 1.0 only
2759  * (the "License").  You may not use this file except in compliance
2760  * with the License.
2761  *
2762  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2763  * or http://www.opensolaris.org/os/licensing.
2764  * See the License for the specific language governing permissions
2765  * and limitations under the License.
2766  *
2767  * When distributing Covered Code, include this CDDL HEADER in each
2768  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2769  * If applicable, add the following below this CDDL HEADER, with the
2770  * fields enclosed by brackets "[]" replaced with your own identifying
2771  * information: Portions Copyright [yyyy] [name of copyright owner]
2772  *
2773  * CDDL HEADER END
2774  */
2775 /*
2776  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
2777  *
2778  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
2779  * Use is subject to license terms.
2780  */
2781 
2782 
2783 
2784 
2785 /*
2786  * This file, <sys/int_fmtio.h>, is part of the Sun Microsystems implementation
2787  * of <inttypes.h> as defined by the ISO C Standard, ISO/IEC 9899:1999
2788  * Programming language - C.
2789  *
2790  * ISO  International Organization for Standardization.
2791  *
2792  * Programs/Modules should not directly include this file.  Access to the
2793  * types defined in this file should be through the inclusion of one of the
2794  * following files:
2795  *
2796  *	<sys/inttypes.h>	Provides the Kernel and Driver appropriate
2797  *				components of <inttypes.h>.
2798  *
2799  *	<inttypes.h>		For use by applications.
2800  *
2801  * See these files for more details.
2802  */
2803 
2804 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
2805 /*
2806  * CDDL HEADER START
2807  *
2808  * The contents of this file are subject to the terms of the
2809  * Common Development and Distribution License (the "License").
2810  * You may not use this file except in compliance with the License.
2811  *
2812  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2813  * or http://www.opensolaris.org/os/licensing.
2814  * See the License for the specific language governing permissions
2815  * and limitations under the License.
2816  *
2817  * When distributing Covered Code, include this CDDL HEADER in each
2818  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2819  * If applicable, add the following below this CDDL HEADER, with the
2820  * fields enclosed by brackets "[]" replaced with your own identifying
2821  * information: Portions Copyright [yyyy] [name of copyright owner]
2822  *
2823  * CDDL HEADER END
2824  */
2825 
2826 /*
2827  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
2828  * Copyright 2016 Joyent, Inc.
2829  *
2830  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2831  * Use is subject to license terms.
2832  */
2833 # 52 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_fmtio.h" 2
2834 
2835 
2836 
2837 
2838 
2839 /*
2840  * Formatted I/O
2841  *
2842  * The following macros can be used even when an implementation has not
2843  * extended the printf/scanf family of functions.
2844  *
2845  * The form of the names of the macros is either "PRI" for printf specifiers
2846  * or "SCN" for scanf specifiers, followed by the conversion specifier letter
2847  * followed by the datatype size. For example, PRId32 is the macro for
2848  * the printf d conversion specifier with the flags for 32 bit datatype.
2849  *
2850  * An example using one of these macros:
2851  *
2852  *	uint64_t u;
2853  *	printf("u = %016" PRIx64 "\n", u);
2854  *
2855  * For the purpose of example, the definitions of the printf/scanf macros
2856  * below have the values appropriate for a machine with 8 bit shorts, 16
2857  * bit shorts, 32 bit ints, 32 or 64 bit longs depending on compilation
2858  * mode, and 64 bit long longs.
2859  */
2860 
2861 /*
2862  * fprintf macros for signed integers
2863  */
2864 # 139 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_fmtio.h"
2865 /*
2866  * fprintf macros for unsigned integers
2867  */
2868 # 227 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_fmtio.h"
2869 /*
2870  * fprintf macros for pointers
2871  */
2872 # 247 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_fmtio.h"
2873 /*
2874  * fscanf macros for signed integers
2875  */
2876 # 282 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_fmtio.h"
2877 /*
2878  * fscanf macros for unsigned integers
2879  */
2880 # 349 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_fmtio.h"
2881 /*
2882  * The following macros define I/O formats for intmax_t and uintmax_t.
2883  */
2884 # 48 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/inttypes.h" 2
2885 # 43 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/inttypes.h" 2
2886 
2887 
2888 
2889 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/stdint.h" 1
2890 /*
2891  * CDDL HEADER START
2892  *
2893  * The contents of this file are subject to the terms of the
2894  * Common Development and Distribution License, Version 1.0 only
2895  * (the "License").  You may not use this file except in compliance
2896  * with the License.
2897  *
2898  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2899  * or http://www.opensolaris.org/os/licensing.
2900  * See the License for the specific language governing permissions
2901  * and limitations under the License.
2902  *
2903  * When distributing Covered Code, include this CDDL HEADER in each
2904  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2905  * If applicable, add the following below this CDDL HEADER, with the
2906  * fields enclosed by brackets "[]" replaced with your own identifying
2907  * information: Portions Copyright [yyyy] [name of copyright owner]
2908  *
2909  * CDDL HEADER END
2910  */
2911 /*
2912  * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
2913  * Use is subject to license terms.
2914  */
2915 
2916 
2917 
2918 
2919 #pragma ident "%Z%%M%	%I%	%E% SMI"
2920 
2921 /*
2922  * This header is included by <stdint.h> which was introduced by
2923  * the ISO C Standard, ISO/IEC 9899:1999 Programming language - C.
2924  * The header is a subset of the <inttypes.h> header.
2925  */
2926 
2927 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_types.h" 1
2928 /*
2929  * CDDL HEADER START
2930  *
2931  * The contents of this file are subject to the terms of the
2932  * Common Development and Distribution License, Version 1.0 only
2933  * (the "License").  You may not use this file except in compliance
2934  * with the License.
2935  *
2936  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2937  * or http://www.opensolaris.org/os/licensing.
2938  * See the License for the specific language governing permissions
2939  * and limitations under the License.
2940  *
2941  * When distributing Covered Code, include this CDDL HEADER in each
2942  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2943  * If applicable, add the following below this CDDL HEADER, with the
2944  * fields enclosed by brackets "[]" replaced with your own identifying
2945  * information: Portions Copyright [yyyy] [name of copyright owner]
2946  *
2947  * CDDL HEADER END
2948  */
2949 /*
2950  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
2951  *
2952  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
2953  * Use is subject to license terms.
2954  */
2955 # 39 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/stdint.h" 2
2956 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_limits.h" 1
2957 /*
2958  * CDDL HEADER START
2959  *
2960  * The contents of this file are subject to the terms of the
2961  * Common Development and Distribution License, Version 1.0 only
2962  * (the "License").  You may not use this file except in compliance
2963  * with the License.
2964  *
2965  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2966  * or http://www.opensolaris.org/os/licensing.
2967  * See the License for the specific language governing permissions
2968  * and limitations under the License.
2969  *
2970  * When distributing Covered Code, include this CDDL HEADER in each
2971  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2972  * If applicable, add the following below this CDDL HEADER, with the
2973  * fields enclosed by brackets "[]" replaced with your own identifying
2974  * information: Portions Copyright [yyyy] [name of copyright owner]
2975  *
2976  * CDDL HEADER END
2977  */
2978 /*
2979  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
2980  *
2981  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
2982  * Use is subject to license terms.
2983  */
2984 # 40 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/stdint.h" 2
2985 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_const.h" 1
2986 /*
2987  * CDDL HEADER START
2988  *
2989  * The contents of this file are subject to the terms of the
2990  * Common Development and Distribution License, Version 1.0 only
2991  * (the "License").  You may not use this file except in compliance
2992  * with the License.
2993  *
2994  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2995  * or http://www.opensolaris.org/os/licensing.
2996  * See the License for the specific language governing permissions
2997  * and limitations under the License.
2998  *
2999  * When distributing Covered Code, include this CDDL HEADER in each
3000  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3001  * If applicable, add the following below this CDDL HEADER, with the
3002  * fields enclosed by brackets "[]" replaced with your own identifying
3003  * information: Portions Copyright [yyyy] [name of copyright owner]
3004  *
3005  * CDDL HEADER END
3006  */
3007 /*
3008  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
3009  *
3010  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
3011  * Use is subject to license terms.
3012  */
3013 # 41 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/stdint.h" 2
3014 # 47 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/inttypes.h" 2
3015 
3016 
3017 
3018 
3019 
3020 
3021 /* Inclusion of <stddef.h> breaks namespace, therefore define wchar_t */
3022 
3023 /*
3024  * wchar_t is a built-in type in standard C++ and as such is not
3025  * defined here when using standard C++. However, the GNU compiler
3026  * fixincludes utility nonetheless creates its own version of this
3027  * header for use by gcc and g++. In that version it adds a redundant
3028  * guard for __cplusplus. To avoid the creation of a gcc/g++ specific
3029  * header we need to include the following magic comment:
3030  *
3031  * we must use the C++ compiler's type
3032  *
3033  * The above comment should not be removed or changed until GNU
3034  * gcc/fixinc/inclhack.def is updated to bypass this header.
3035  */
3036 # 81 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/inttypes.h"
3037 typedef struct {
3038  intmax_t quot;
3039  intmax_t rem;
3040 } imaxdiv_t;
3041 # 108 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/inttypes.h"
3042 extern intmax_t imaxabs(intmax_t);
3043 extern imaxdiv_t imaxdiv(intmax_t, intmax_t);
3044 extern intmax_t strtoimax(const char *, char **,
3045  int);
3046 extern uintmax_t strtoumax(const char *, char **,
3047  int);
3048 extern intmax_t wcstoimax(const wchar_t *,
3049  wchar_t **, int);
3050 extern uintmax_t wcstoumax(const wchar_t *,
3051  wchar_t **, int);
3052 # 302 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdlib.h" 2
3053 extern uint32_t arc4random(void);
3054 extern void arc4random_buf(void *, size_t);
3055 extern uint32_t arc4random_uniform(uint32_t);
3056 extern void freezero(void *, size_t);
3057 extern void *recallocarray(void *, size_t, size_t, size_t);
3058 # 33 "pkgname.c" 2
3059 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/locale.h" 1
3060 /*
3061  * CDDL HEADER START
3062  *
3063  * The contents of this file are subject to the terms of the
3064  * Common Development and Distribution License, Version 1.0 only
3065  * (the "License").  You may not use this file except in compliance
3066  * with the License.
3067  *
3068  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3069  * or http://www.opensolaris.org/os/licensing.
3070  * See the License for the specific language governing permissions
3071  * and limitations under the License.
3072  *
3073  * When distributing Covered Code, include this CDDL HEADER in each
3074  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3075  * If applicable, add the following below this CDDL HEADER, with the
3076  * fields enclosed by brackets "[]" replaced with your own identifying
3077  * information: Portions Copyright [yyyy] [name of copyright owner]
3078  *
3079  * CDDL HEADER END
3080  */
3081 /*
3082  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3083  * Use is subject to license terms.
3084  */
3085 
3086 /*
3087  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
3088  *
3089  * Portions of this file developed by Garrett D'Amore are licensed
3090  * under the terms of the Common Development and Distribution License (CDDL)
3091  * version 1.0 only.  The use of subsequent versions of the License are
3092  * is specifically prohibited unless those terms are not in conflict with
3093  * version 1.0 of the License.  You can find this license on-line at
3094  * http://www.illumos.org/license/CDDL
3095  */
3096 
3097 
3098 
3099 
3100 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/locale_iso.h" 1
3101 /*
3102  * CDDL HEADER START
3103  *
3104  * The contents of this file are subject to the terms of the
3105  * Common Development and Distribution License, Version 1.0 only
3106  * (the "License").  You may not use this file except in compliance
3107  * with the License.
3108  *
3109  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3110  * or http://www.opensolaris.org/os/licensing.
3111  * See the License for the specific language governing permissions
3112  * and limitations under the License.
3113  *
3114  * When distributing Covered Code, include this CDDL HEADER in each
3115  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3116  * If applicable, add the following below this CDDL HEADER, with the
3117  * fields enclosed by brackets "[]" replaced with your own identifying
3118  * information: Portions Copyright [yyyy] [name of copyright owner]
3119  *
3120  * CDDL HEADER END
3121  */
3122 /*
3123  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
3124  * Copyright 2014 PALO, Richard.
3125  *
3126  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3127  * Use is subject to license terms.
3128  */
3129 
3130 /*	Copyright (c) 1988 AT&T	*/
3131 /*	  All Rights Reserved  	*/
3132 
3133 
3134 /*
3135  * An application should not include this header directly.  Instead it
3136  * should be included only through the inclusion of other Sun headers.
3137  *
3138  * The contents of this header is limited to identifiers specified in the
3139  * C Standard.  Any new identifiers specified in future amendments to the
3140  * C Standard must be placed in this header.  If these new identifiers
3141  * are required to also be in the C++ Standard "std" namespace, then for
3142  * anything other than macro definitions, corresponding "using" directives
3143  * must also be added to <locale.h>.
3144  */
3145 
3146 
3147 
3148 
3149 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
3150 /*
3151  * CDDL HEADER START
3152  *
3153  * The contents of this file are subject to the terms of the
3154  * Common Development and Distribution License (the "License").
3155  * You may not use this file except in compliance with the License.
3156  *
3157  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3158  * or http://www.opensolaris.org/os/licensing.
3159  * See the License for the specific language governing permissions
3160  * and limitations under the License.
3161  *
3162  * When distributing Covered Code, include this CDDL HEADER in each
3163  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3164  * If applicable, add the following below this CDDL HEADER, with the
3165  * fields enclosed by brackets "[]" replaced with your own identifying
3166  * information: Portions Copyright [yyyy] [name of copyright owner]
3167  *
3168  * CDDL HEADER END
3169  */
3170 
3171 /*
3172  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
3173  * Copyright 2016 Joyent, Inc.
3174  *
3175  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
3176  * Use is subject to license terms.
3177  */
3178 # 50 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/locale_iso.h" 2
3179 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/null.h" 1
3180 /*
3181  * This file and its contents are supplied under the terms of the
3182  * Common Development and Distribution License ("CDDL"), version 1.0.
3183  * You may only use this file in accordance with the terms of version
3184  * 1.0 of the CDDL.
3185  *
3186  * A full copy of the text of the CDDL should have accompanied this
3187  * source.  A copy of the CDDL is also available via the Internet at
3188  * http://www.illumos.org/license/CDDL.
3189  */
3190 
3191 /*
3192  * Copyright 2014-2016 PALO, Richard.
3193  */
3194 # 51 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/locale_iso.h" 2
3195 # 60 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/locale_iso.h"
3196 struct lconv {
3197  char *decimal_point;
3198  char *thousands_sep;
3199  char *grouping;
3200  char *int_curr_symbol;
3201  char *currency_symbol;
3202  char *mon_decimal_point;
3203  char *mon_thousands_sep;
3204  char *mon_grouping;
3205  char *positive_sign;
3206  char *negative_sign;
3207  char int_frac_digits;
3208  char frac_digits;
3209  char p_cs_precedes;
3210  char p_sep_by_space;
3211  char n_cs_precedes;
3212  char n_sep_by_space;
3213  char p_sign_posn;
3214  char n_sign_posn;
3215 
3216 /*
3217  * New in IEEE Std 1003.1-2001 for alignment with the ISO/IEC 9899:1999
3218  * standard.  Namespace and binary compatibility dictate that visibility
3219  * of these new members be limited.  Visibility is limited to a strictly
3220  * conforming ANSI C environment (-Xc) or if _LCONV_C99 is defined.
3221  */
3222 # 94 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/locale_iso.h"
3223 };
3224 # 104 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/locale_iso.h"
3225 extern char *setlocale(int, const char *);
3226 extern struct lconv *localeconv(void);
3227 # 42 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/locale.h" 2
3228 
3229 
3230 
3231 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/libintl.h" 1
3232 /*
3233  * CDDL HEADER START
3234  *
3235  * The contents of this file are subject to the terms of the
3236  * Common Development and Distribution License (the "License").
3237  * You may not use this file except in compliance with the License.
3238  *
3239  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3240  * or http://www.opensolaris.org/os/licensing.
3241  * See the License for the specific language governing permissions
3242  * and limitations under the License.
3243  *
3244  * When distributing Covered Code, include this CDDL HEADER in each
3245  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3246  * If applicable, add the following below this CDDL HEADER, with the
3247  * fields enclosed by brackets "[]" replaced with your own identifying
3248  * information: Portions Copyright [yyyy] [name of copyright owner]
3249  *
3250  * CDDL HEADER END
3251  */
3252 /*
3253  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
3254  *
3255  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
3256  * Use is subject to license terms.
3257  */
3258 
3259 
3260 
3261 
3262 
3263 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/isa_defs.h" 1
3264 /*
3265  * CDDL HEADER START
3266  *
3267  * The contents of this file are subject to the terms of the
3268  * Common Development and Distribution License (the "License").
3269  * You may not use this file except in compliance with the License.
3270  *
3271  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3272  * or http://www.opensolaris.org/os/licensing.
3273  * See the License for the specific language governing permissions
3274  * and limitations under the License.
3275  *
3276  *
3277  * When distributing Covered Code, include this CDDL HEADER in each
3278  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3279  * If applicable, add the following below this CDDL HEADER, with the
3280  * fields enclosed by brackets "[]" replaced with your own identifying
3281  * information: Portions Copyright [yyyy] [name of copyright owner]
3282  *
3283  * CDDL HEADER END
3284  */
3285 
3286 /*
3287  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
3288  * Use is subject to license terms.
3289  * Copyright 2016 Joyent, Inc.
3290  */
3291 # 33 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/libintl.h" 2
3292 
3293 
3294 
3295 
3296 
3297 /*
3298  * wchar_t is a built-in type in standard C++ and as such is not
3299  * defined here when using standard C++. However, the GNU compiler
3300  * fixincludes utility nonetheless creates its own version of this
3301  * header for use by gcc and g++. In that version it adds a redundant
3302  * guard for __cplusplus. To avoid the creation of a gcc/g++ specific
3303  * header we need to include the following magic comment:
3304  *
3305  * we must use the C++ compiler's type
3306  *
3307  * The above comment should not be removed or changed until GNU
3308  * gcc/fixinc/inclhack.def is updated to bypass this header.
3309  */
3310 # 67 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/libintl.h"
3311 extern char *dcgettext(const char *, const char *, const int);
3312 extern char *dgettext(const char *, const char *);
3313 extern char *gettext(const char *);
3314 extern char *textdomain(const char *);
3315 extern char *bindtextdomain(const char *, const char *);
3316 
3317 /*
3318  * LI18NUX 2000 Globalization Specification Version 1.0
3319  * with Amendment 2
3320  */
3321 extern char *dcngettext(const char *, const char *,
3322  const char *, unsigned long int, int);
3323 extern char *dngettext(const char *, const char *,
3324  const char *, unsigned long int);
3325 extern char *ngettext(const char *, const char *, unsigned long int);
3326 extern char *bind_textdomain_codeset(const char *, const char *);
3327 
3328 /* Word handling functions --- requires dynamic linking */
3329 /* Warning: these are experimental and subject to change. */
3330 extern int wdinit(void);
3331 extern int wdchkind(wchar_t);
3332 extern int wdbindf(wchar_t, wchar_t, int);
3333 extern wchar_t *wddelim(wchar_t, wchar_t, int);
3334 extern wchar_t mcfiller(void);
3335 extern int mcwrap(void);
3336 # 46 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/locale.h" 2
3337 
3338 
3339 /*
3340  * Allow global visibility for symbols defined in
3341  * C++ "std" namespace in <iso/locale_iso.h>.
3342  */
3343 # 71 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/locale.h"
3344 /*
3345  * These were added in POSIX 2008 as part of the newlocale() specification.
3346  */
3347 # 84 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/locale.h"
3348 typedef struct _locale *locale_t;
3349 
3350 
3351 extern locale_t duplocale(locale_t);
3352 extern void freelocale(locale_t);
3353 extern locale_t newlocale(int, const char *, locale_t);
3354 extern locale_t uselocale(locale_t);
3355 
3356 
3357 extern locale_t __global_locale(void);
3358 # 34 "pkgname.c" 2
3359 # 1 "/home/git3/dehawe/titanic_53/usr/src/cmd/svr4pkg/hdrs/libadm.h" 1
3360 /*
3361  * CDDL HEADER START
3362  *
3363  * The contents of this file are subject to the terms of the
3364  * Common Development and Distribution License (the "License").
3365  * You may not use this file except in compliance with the License.
3366  *
3367  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3368  * or http://www.opensolaris.org/os/licensing.
3369  * See the License for the specific language governing permissions
3370  * and limitations under the License.
3371  *
3372  * When distributing Covered Code, include this CDDL HEADER in each
3373  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3374  * If applicable, add the following below this CDDL HEADER, with the
3375  * fields enclosed by brackets "[]" replaced with your own identifying
3376  * information: Portions Copyright [yyyy] [name of copyright owner]
3377  *
3378  * CDDL HEADER END
3379  */
3380 
3381 /*
3382  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
3383  * Use is subject to license terms.
3384  */
3385 
3386 
3387 
3388 
3389 
3390 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h" 1
3391 /*
3392  * CDDL HEADER START
3393  *
3394  * The contents of this file are subject to the terms of the
3395  * Common Development and Distribution License (the "License").
3396  * You may not use this file except in compliance with the License.
3397  *
3398  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3399  * or http://www.opensolaris.org/os/licensing.
3400  * See the License for the specific language governing permissions
3401  * and limitations under the License.
3402  *
3403  * When distributing Covered Code, include this CDDL HEADER in each
3404  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3405  * If applicable, add the following below this CDDL HEADER, with the
3406  * fields enclosed by brackets "[]" replaced with your own identifying
3407  * information: Portions Copyright [yyyy] [name of copyright owner]
3408  *
3409  * CDDL HEADER END
3410  */
3411 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
3412 /*	  All Rights Reserved  	*/
3413 
3414 
3415 /*
3416  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
3417  * Use is subject to license terms.
3418  *
3419  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
3420  * Copyright 2016 Joyent, Inc.
3421  */
3422 
3423 
3424 
3425 
3426 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
3427 /*
3428  * CDDL HEADER START
3429  *
3430  * The contents of this file are subject to the terms of the
3431  * Common Development and Distribution License (the "License").
3432  * You may not use this file except in compliance with the License.
3433  *
3434  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3435  * or http://www.opensolaris.org/os/licensing.
3436  * See the License for the specific language governing permissions
3437  * and limitations under the License.
3438  *
3439  * When distributing Covered Code, include this CDDL HEADER in each
3440  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3441  * If applicable, add the following below this CDDL HEADER, with the
3442  * fields enclosed by brackets "[]" replaced with your own identifying
3443  * information: Portions Copyright [yyyy] [name of copyright owner]
3444  *
3445  * CDDL HEADER END
3446  */
3447 
3448 /*
3449  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
3450  * Copyright 2016 Joyent, Inc.
3451  *
3452  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
3453  * Use is subject to license terms.
3454  */
3455 # 37 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h" 2
3456 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/isa_defs.h" 1
3457 /*
3458  * CDDL HEADER START
3459  *
3460  * The contents of this file are subject to the terms of the
3461  * Common Development and Distribution License (the "License").
3462  * You may not use this file except in compliance with the License.
3463  *
3464  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3465  * or http://www.opensolaris.org/os/licensing.
3466  * See the License for the specific language governing permissions
3467  * and limitations under the License.
3468  *
3469  *
3470  * When distributing Covered Code, include this CDDL HEADER in each
3471  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3472  * If applicable, add the following below this CDDL HEADER, with the
3473  * fields enclosed by brackets "[]" replaced with your own identifying
3474  * information: Portions Copyright [yyyy] [name of copyright owner]
3475  *
3476  * CDDL HEADER END
3477  */
3478 
3479 /*
3480  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
3481  * Use is subject to license terms.
3482  * Copyright 2016 Joyent, Inc.
3483  */
3484 # 38 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h" 2
3485 
3486 /*
3487  * Machine dependent definitions moved to <sys/machtypes.h>.
3488  */
3489 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/machtypes.h" 1
3490 /*
3491  * CDDL HEADER START
3492  *
3493  * The contents of this file are subject to the terms of the
3494  * Common Development and Distribution License, Version 1.0 only
3495  * (the "License").  You may not use this file except in compliance
3496  * with the License.
3497  *
3498  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3499  * or http://www.opensolaris.org/os/licensing.
3500  * See the License for the specific language governing permissions
3501  * and limitations under the License.
3502  *
3503  * When distributing Covered Code, include this CDDL HEADER in each
3504  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3505  * If applicable, add the following below this CDDL HEADER, with the
3506  * fields enclosed by brackets "[]" replaced with your own identifying
3507  * information: Portions Copyright [yyyy] [name of copyright owner]
3508  *
3509  * CDDL HEADER END
3510  */
3511 /*
3512  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
3513  * Use is subject to license terms.
3514  */
3515 
3516 
3517 
3518 
3519 #pragma ident "%Z%%M%	%I%	%E% SMI"
3520 
3521 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
3522 /*
3523  * CDDL HEADER START
3524  *
3525  * The contents of this file are subject to the terms of the
3526  * Common Development and Distribution License (the "License").
3527  * You may not use this file except in compliance with the License.
3528  *
3529  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3530  * or http://www.opensolaris.org/os/licensing.
3531  * See the License for the specific language governing permissions
3532  * and limitations under the License.
3533  *
3534  * When distributing Covered Code, include this CDDL HEADER in each
3535  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3536  * If applicable, add the following below this CDDL HEADER, with the
3537  * fields enclosed by brackets "[]" replaced with your own identifying
3538  * information: Portions Copyright [yyyy] [name of copyright owner]
3539  *
3540  * CDDL HEADER END
3541  */
3542 
3543 /*
3544  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
3545  * Copyright 2016 Joyent, Inc.
3546  *
3547  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
3548  * Use is subject to license terms.
3549  */
3550 # 33 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/machtypes.h" 2
3551 
3552 
3553 
3554 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/ia32/sys/machtypes.h" 1
3555 /*
3556  * CDDL HEADER START
3557  *
3558  * The contents of this file are subject to the terms of the
3559  * Common Development and Distribution License (the "License").
3560  * You may not use this file except in compliance with the License.
3561  *
3562  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3563  * or http://www.opensolaris.org/os/licensing.
3564  * See the License for the specific language governing permissions
3565  * and limitations under the License.
3566  *
3567  * When distributing Covered Code, include this CDDL HEADER in each
3568  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3569  * If applicable, add the following below this CDDL HEADER, with the
3570  * fields enclosed by brackets "[]" replaced with your own identifying
3571  * information: Portions Copyright [yyyy] [name of copyright owner]
3572  *
3573  * CDDL HEADER END
3574  */
3575 /*
3576  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
3577  * Use is subject to license terms.
3578  */
3579 
3580 
3581 
3582 
3583 #pragma ident "%Z%%M%	%I%	%E% SMI"
3584 
3585 
3586 
3587 
3588 
3589 /*
3590  * Machine dependent types:
3591  *
3592  *	intel ia32 Version
3593  */
3594 # 61 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/ia32/sys/machtypes.h"
3595 typedef struct _label_t { long val[6]; } label_t;
3596 
3597 
3598 
3599 typedef unsigned char lock_t; /* lock work for busy wait */
3600 # 37 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/machtypes.h" 2
3601 # 43 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h" 2
3602 
3603 /*
3604  * Include fixed width type declarations proposed by the ISO/JTC1/SC22/WG14 C
3605  * committee's working draft for the revision of the current ISO C standard,
3606  * ISO/IEC 9899:1990 Programming language - C.  These are not currently
3607  * required by any standard but constitute a useful, general purpose set
3608  * of type definitions which is namespace clean with respect to all standards.
3609  */
3610 
3611 
3612 
3613 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_types.h" 1
3614 /*
3615  * CDDL HEADER START
3616  *
3617  * The contents of this file are subject to the terms of the
3618  * Common Development and Distribution License, Version 1.0 only
3619  * (the "License").  You may not use this file except in compliance
3620  * with the License.
3621  *
3622  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3623  * or http://www.opensolaris.org/os/licensing.
3624  * See the License for the specific language governing permissions
3625  * and limitations under the License.
3626  *
3627  * When distributing Covered Code, include this CDDL HEADER in each
3628  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3629  * If applicable, add the following below this CDDL HEADER, with the
3630  * fields enclosed by brackets "[]" replaced with your own identifying
3631  * information: Portions Copyright [yyyy] [name of copyright owner]
3632  *
3633  * CDDL HEADER END
3634  */
3635 /*
3636  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
3637  *
3638  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
3639  * Use is subject to license terms.
3640  */
3641 # 55 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h" 2
3642 # 65 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h"
3643 /*
3644  * Strictly conforming ANSI C environments prior to the 1999
3645  * revision of the C Standard (ISO/IEC 9899:1999) do not have
3646  * the long long data type.
3647  */
3648 
3649 typedef long long longlong_t;
3650 typedef unsigned long long u_longlong_t;
3651 # 85 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h"
3652 /*
3653  * These types (t_{u}scalar_t) exist because the XTI/TPI/DLPI standards had
3654  * to use them instead of int32_t and uint32_t because DEC had
3655  * shipped 64-bit wide.
3656  */
3657 
3658 
3659 
3660 
3661 typedef long t_scalar_t; /* historical versions */
3662 typedef unsigned long t_uscalar_t;
3663 
3664 
3665 /*
3666  * POSIX Extensions
3667  */
3668 typedef unsigned char uchar_t;
3669 typedef unsigned short ushort_t;
3670 typedef unsigned int uint_t;
3671 typedef unsigned long ulong_t;
3672 
3673 typedef char *caddr_t; /* ?<core address> type */
3674 typedef long daddr_t; /* <disk address> type */
3675 typedef short cnt_t; /* ?<count> type */
3676 
3677 
3678 
3679 
3680 
3681 
3682 typedef int ptrdiff_t; /* (historical version) */
3683 
3684 
3685 
3686 /*
3687  * VM-related types
3688  */
3689 typedef ulong_t pfn_t; /* page frame number */
3690 typedef ulong_t pgcnt_t; /* number of pages */
3691 typedef long spgcnt_t; /* signed number of pages */
3692 
3693 typedef uchar_t use_t; /* use count for swap.  */
3694 typedef short sysid_t;
3695 typedef short index_t;
3696 typedef void *timeout_id_t; /* opaque handle from timeout(9F) */
3697 typedef void *bufcall_id_t; /* opaque handle from bufcall(9F) */
3698 
3699 /*
3700  * The size of off_t and related types depends on the setting of
3701  * _FILE_OFFSET_BITS.  (Note that other system headers define other types
3702  * related to those defined here.)
3703  *
3704  * If _LARGEFILE64_SOURCE is defined, variants of these types that are
3705  * explicitly 64 bits wide become available.
3706  */
3707 # 165 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h"
3708 typedef u_longlong_t ino_t; /* expanded inode type	*/
3709 typedef longlong_t blkcnt_t; /* count of file blocks */
3710 typedef u_longlong_t fsblkcnt_t; /* count of file system blocks */
3711 typedef u_longlong_t fsfilcnt_t; /* count of files */
3712 # 178 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h"
3713 typedef u_longlong_t ino64_t; /* expanded inode type	*/
3714 typedef longlong_t blkcnt64_t; /* count of file blocks */
3715 typedef u_longlong_t fsblkcnt64_t; /* count of file system blocks */
3716 typedef u_longlong_t fsfilcnt64_t; /* count of files */
3717 
3718 
3719 
3720 
3721 
3722 
3723 typedef long blksize_t; /* used for block sizes */
3724 
3725 
3726 
3727 
3728 
3729 typedef enum { B_FALSE, B_TRUE } boolean_t;
3730 # 205 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h"
3731 /*
3732  * The {u,}pad64_t types can be used in structures such that those structures
3733  * may be accessed by code produced by compilation environments which don't
3734  * support a 64 bit integral datatype.  The intention is not to allow
3735  * use of these fields in such environments, but to maintain the alignment
3736  * and offsets of the structure.
3737  *
3738  * Similar comments for {u,}pad128_t.
3739  *
3740  * Note that these types do NOT generate any stronger alignment constraints
3741  * than those available in the underlying ABI.  See <sys/isa_defs.h>
3742  */
3743 
3744 typedef int64_t pad64_t;
3745 typedef uint64_t upad64_t;
3746 # 232 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h"
3747 typedef union {
3748  long double _q;
3749  int32_t _l[4];
3750 } pad128_t;
3751 
3752 typedef union {
3753  long double _q;
3754  uint32_t _l[4];
3755 } upad128_t;
3756 
3757 typedef longlong_t offset_t;
3758 typedef u_longlong_t u_offset_t;
3759 typedef u_longlong_t len_t;
3760 typedef u_longlong_t diskaddr_t;
3761 
3762 
3763 
3764 
3765 /*
3766  * Definitions remaining from previous partial support for 64-bit file
3767  * offsets.  This partial support for devices greater than 2gb requires
3768  * compiler support for long long.
3769  */
3770 
3771 typedef union {
3772  offset_t _f; /* Full 64 bit offset value */
3773  struct {
3774   int32_t _l; /* lower 32 bits of offset value */
3775   int32_t _u; /* upper 32 bits of offset value */
3776  } _p;
3777 } lloff_t;
3778 # 276 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h"
3779 typedef union {
3780  longlong_t _f; /* Full 64 bit disk address value */
3781  struct {
3782   int32_t _l; /* lower 32 bits of disk address value */
3783   int32_t _u; /* upper 32 bits of disk address value */
3784  } _p;
3785 } lldaddr_t;
3786 # 295 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h"
3787 typedef uint_t k_fltset_t; /* kernel fault set type */
3788 
3789 /*
3790  * The following type is for various kinds of identifiers.  The
3791  * actual type must be the same for all since some system calls
3792  * (such as sigsend) take arguments that may be any of these
3793  * types.  The enumeration type idtype_t defined in sys/procset.h
3794  * is used to indicate what type of id is being specified --
3795  * a process id, process group id, session id, scheduling class id,
3796  * user id, group id, project id, task id or zone id.
3797  */
3798 
3799 
3800 
3801 typedef long id_t; /* (historical version) */
3802 
3803 
3804 typedef id_t lgrp_id_t; /* lgroup ID */
3805 
3806 /*
3807  * Type useconds_t is an unsigned integral type capable of storing
3808  * values at least in the range of zero to 1,000,000.
3809  */
3810 typedef uint_t useconds_t; /* Time, in microseconds */
3811 
3812 
3813 
3814 typedef long suseconds_t; /* signed # of microseconds */
3815 
3816 
3817 /*
3818  * Typedefs for dev_t components.
3819  */
3820 
3821 
3822 
3823 
3824 typedef ulong_t major_t; /* (historical version) */
3825 typedef ulong_t minor_t; /* (historical version) */
3826 
3827 
3828 /*
3829  * The data type of a thread priority.
3830  */
3831 typedef short pri_t;
3832 
3833 /*
3834  * The data type for a CPU flags field.  (Can be extended to larger unsigned
3835  * types, if needed, limited by ability to update atomically.)
3836  */
3837 typedef ushort_t cpu_flag_t;
3838 
3839 /*
3840  * For compatibility reasons the following typedefs (prefixed o_)
3841  * can't grow regardless of the EFT definition. Although,
3842  * applications should not explicitly use these typedefs
3843  * they may be included via a system header definition.
3844  * WARNING: These typedefs may be removed in a future
3845  * release.
3846  *		ex. the definitions in s5inode.h (now obsoleted)
3847  *			remained small to preserve compatibility
3848  *			in the S5 file system type.
3849  */
3850 typedef ushort_t o_mode_t; /* old file attribute type */
3851 typedef short o_dev_t; /* old device type	*/
3852 typedef ushort_t o_uid_t; /* old UID type		*/
3853 typedef o_uid_t o_gid_t; /* old GID type		*/
3854 typedef short o_nlink_t; /* old file link type	*/
3855 typedef short o_pid_t; /* old process id type	*/
3856 typedef ushort_t o_ino_t; /* old inode type	*/
3857 
3858 
3859 /*
3860  * POSIX and XOPEN Declarations
3861  */
3862 typedef int key_t; /* IPC key type		*/
3863 
3864 
3865 
3866 typedef ulong_t mode_t; /* (historical version) */
3867 
3868 
3869 
3870 
3871 
3872 
3873 
3874 typedef uid_t gid_t; /* GID type		*/
3875 
3876 typedef uint32_t datalink_id_t;
3877 typedef uint32_t vrid_t;
3878 
3879 typedef id_t taskid_t;
3880 typedef id_t projid_t;
3881 typedef id_t poolid_t;
3882 typedef id_t zoneid_t;
3883 typedef id_t ctid_t;
3884 
3885 /*
3886  * POSIX definitions are same as defined in thread.h and synch.h.
3887  * Any changes made to here should be reflected in corresponding
3888  * files as described in comments.
3889  */
3890 typedef uint_t pthread_t; /* = thread_t in thread.h */
3891 typedef uint_t pthread_key_t; /* = thread_key_t in thread.h */
3892 
3893 /* "Magic numbers" tagging synchronization object types */
3894 
3895 
3896 
3897 
3898 
3899 typedef struct _pthread_mutex { /* = mutex_t in synch.h */
3900  struct {
3901   uint16_t __pthread_mutex_flag1;
3902   uint8_t __pthread_mutex_flag2;
3903   uint8_t __pthread_mutex_ceiling;
3904   uint16_t __pthread_mutex_type;
3905   uint16_t __pthread_mutex_magic;
3906  } __pthread_mutex_flags;
3907  union {
3908   struct {
3909    uint8_t __pthread_mutex_pad[8];
3910   } __pthread_mutex_lock64;
3911   struct {
3912    uint32_t __pthread_ownerpid;
3913    uint32_t __pthread_lockword;
3914   } __pthread_mutex_lock32;
3915   upad64_t __pthread_mutex_owner64;
3916  } __pthread_mutex_lock;
3917  upad64_t __pthread_mutex_data;
3918 } pthread_mutex_t;
3919 
3920 typedef struct _pthread_cond { /* = cond_t in synch.h */
3921  struct {
3922   uint8_t __pthread_cond_flag[4];
3923   uint16_t __pthread_cond_type;
3924   uint16_t __pthread_cond_magic;
3925  } __pthread_cond_flags;
3926  upad64_t __pthread_cond_data;
3927 } pthread_cond_t;
3928 
3929 /*
3930  * UNIX 98 Extension
3931  */
3932 typedef struct _pthread_rwlock { /* = rwlock_t in synch.h */
3933  int32_t __pthread_rwlock_readers;
3934  uint16_t __pthread_rwlock_type;
3935  uint16_t __pthread_rwlock_magic;
3936  pthread_mutex_t __pthread_rwlock_mutex;
3937  pthread_cond_t __pthread_rwlock_readercv;
3938  pthread_cond_t __pthread_rwlock_writercv;
3939 } pthread_rwlock_t;
3940 
3941 /*
3942  * SUSV3
3943  */
3944 typedef struct {
3945  uint32_t __pthread_barrier_count;
3946  uint32_t __pthread_barrier_current;
3947  upad64_t __pthread_barrier_cycle;
3948  upad64_t __pthread_barrier_reserved;
3949  pthread_mutex_t __pthread_barrier_lock;
3950  pthread_cond_t __pthread_barrier_cond;
3951 } pthread_barrier_t;
3952 
3953 typedef pthread_mutex_t pthread_spinlock_t;
3954 
3955 /*
3956  * attributes for threads, dynamically allocated by library
3957  */
3958 typedef struct _pthread_attr {
3959  void *__pthread_attrp;
3960 } pthread_attr_t;
3961 
3962 /*
3963  * attributes for mutex, dynamically allocated by library
3964  */
3965 typedef struct _pthread_mutexattr {
3966  void *__pthread_mutexattrp;
3967 } pthread_mutexattr_t;
3968 
3969 /*
3970  * attributes for cond, dynamically allocated by library
3971  */
3972 typedef struct _pthread_condattr {
3973  void *__pthread_condattrp;
3974 } pthread_condattr_t;
3975 
3976 /*
3977  * pthread_once
3978  */
3979 typedef struct _once {
3980  upad64_t __pthread_once_pad[4];
3981 } pthread_once_t;
3982 
3983 /*
3984  * UNIX 98 Extensions
3985  * attributes for rwlock, dynamically allocated by library
3986  */
3987 typedef struct _pthread_rwlockattr {
3988  void *__pthread_rwlockattrp;
3989 } pthread_rwlockattr_t;
3990 
3991 /*
3992  * SUSV3
3993  * attributes for pthread_barrier_t, dynamically allocated by library
3994  */
3995 typedef struct {
3996  void *__pthread_barrierattrp;
3997 } pthread_barrierattr_t;
3998 
3999 typedef ulong_t dev_t; /* expanded device type */
4000 
4001 
4002 
4003 
4004 
4005 typedef ulong_t nlink_t; /* (historical version) */
4006 typedef long pid_t; /* (historical version) */
4007 # 537 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h"
4008 typedef long time_t; /* time of day in seconds */
4009 
4010 
4011 
4012 
4013 typedef long clock_t; /* relative time in a specified resolution */
4014 
4015 
4016 
4017 
4018 typedef int clockid_t; /* clock identifier type */
4019 
4020 
4021 
4022 
4023 typedef int timer_t; /* timer identifier type */
4024 
4025 
4026 
4027 
4028 /* BEGIN CSTYLED */
4029 typedef unsigned char unchar;
4030 typedef unsigned short ushort;
4031 typedef unsigned int uint;
4032 typedef unsigned long ulong;
4033 /* END CSTYLED */
4034 # 605 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h"
4035 /*
4036  * The following is the value of type id_t to use to indicate the
4037  * caller's current id.  See procset.h for the type idtype_t
4038  * which defines which kind of id is being specified.
4039  */
4040 # 620 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h"
4041 /*
4042  * The following value of type pfn_t is used to indicate
4043  * invalid page frame number.
4044  */
4045 
4046 
4047 
4048 /* BEGIN CSTYLED */
4049 typedef unsigned char u_char;
4050 typedef unsigned short u_short;
4051 typedef unsigned int u_int;
4052 typedef unsigned long u_long;
4053 typedef struct _quad { int val[2]; } quad_t; /* used by UFS */
4054 typedef quad_t quad; /* used by UFS */
4055 /* END CSTYLED */
4056 
4057 /*
4058  * Nested include for BSD/sockets source compatibility.
4059  * (The select macros used to be defined here).
4060  */
4061 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/select.h" 1
4062 /*
4063  * CDDL HEADER START
4064  *
4065  * The contents of this file are subject to the terms of the
4066  * Common Development and Distribution License (the "License").
4067  * You may not use this file except in compliance with the License.
4068  *
4069  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4070  * or http://www.opensolaris.org/os/licensing.
4071  * See the License for the specific language governing permissions
4072  * and limitations under the License.
4073  *
4074  * When distributing Covered Code, include this CDDL HEADER in each
4075  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4076  * If applicable, add the following below this CDDL HEADER, with the
4077  * fields enclosed by brackets "[]" replaced with your own identifying
4078  * information: Portions Copyright [yyyy] [name of copyright owner]
4079  *
4080  * CDDL HEADER END
4081  */
4082 
4083 /*
4084  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
4085  *
4086  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
4087  *
4088  * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
4089  * Use is subject to license terms.
4090  */
4091 
4092 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
4093 /*	  All Rights Reserved	*/
4094 
4095 /*
4096  * University Copyright- Copyright (c) 1982, 1986, 1988
4097  * The Regents of the University of California
4098  * All Rights Reserved
4099  *
4100  * University Acknowledgment- Portions of this document are derived from
4101  * software developed by the University of California, Berkeley, and its
4102  * contributors.
4103  */
4104 
4105 
4106 
4107 
4108 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
4109 /*
4110  * CDDL HEADER START
4111  *
4112  * The contents of this file are subject to the terms of the
4113  * Common Development and Distribution License (the "License").
4114  * You may not use this file except in compliance with the License.
4115  *
4116  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4117  * or http://www.opensolaris.org/os/licensing.
4118  * See the License for the specific language governing permissions
4119  * and limitations under the License.
4120  *
4121  * When distributing Covered Code, include this CDDL HEADER in each
4122  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4123  * If applicable, add the following below this CDDL HEADER, with the
4124  * fields enclosed by brackets "[]" replaced with your own identifying
4125  * information: Portions Copyright [yyyy] [name of copyright owner]
4126  *
4127  * CDDL HEADER END
4128  */
4129 
4130 /*
4131  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
4132  * Copyright 2016 Joyent, Inc.
4133  *
4134  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
4135  * Use is subject to license terms.
4136  */
4137 # 48 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/select.h" 2
4138 
4139 
4140 
4141 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time_impl.h" 1
4142 /*
4143  * CDDL HEADER START
4144  *
4145  * The contents of this file are subject to the terms of the
4146  * Common Development and Distribution License, Version 1.0 only
4147  * (the "License").  You may not use this file except in compliance
4148  * with the License.
4149  *
4150  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4151  * or http://www.opensolaris.org/os/licensing.
4152  * See the License for the specific language governing permissions
4153  * and limitations under the License.
4154  *
4155  * When distributing Covered Code, include this CDDL HEADER in each
4156  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4157  * If applicable, add the following below this CDDL HEADER, with the
4158  * fields enclosed by brackets "[]" replaced with your own identifying
4159  * information: Portions Copyright [yyyy] [name of copyright owner]
4160  *
4161  * CDDL HEADER END
4162  */
4163 /*
4164  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
4165  * Use is subject to license terms.
4166  */
4167 
4168 /*
4169  * Implementation-private.  This header should not be included
4170  * directly by an application.  The application should instead
4171  * include <time.h> which includes this header conditionally
4172  * depending on which feature test macros are defined. By default,
4173  * this header is included by <time.h>.  X/Open and POSIX
4174  * standards requirements result in this header being included
4175  * by <time.h> only under a restricted set of conditions.
4176  */
4177 
4178 
4179 
4180 
4181 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
4182 /*
4183  * CDDL HEADER START
4184  *
4185  * The contents of this file are subject to the terms of the
4186  * Common Development and Distribution License (the "License").
4187  * You may not use this file except in compliance with the License.
4188  *
4189  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4190  * or http://www.opensolaris.org/os/licensing.
4191  * See the License for the specific language governing permissions
4192  * and limitations under the License.
4193  *
4194  * When distributing Covered Code, include this CDDL HEADER in each
4195  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4196  * If applicable, add the following below this CDDL HEADER, with the
4197  * fields enclosed by brackets "[]" replaced with your own identifying
4198  * information: Portions Copyright [yyyy] [name of copyright owner]
4199  *
4200  * CDDL HEADER END
4201  */
4202 
4203 /*
4204  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
4205  * Copyright 2016 Joyent, Inc.
4206  *
4207  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
4208  * Use is subject to license terms.
4209  */
4210 # 41 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time_impl.h" 2
4211 # 53 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time_impl.h"
4212 /*
4213  * Time expressed in seconds and nanoseconds
4214  */
4215 
4216 typedef struct timespec { /* definition per POSIX.4 */
4217  time_t tv_sec; /* seconds */
4218  long tv_nsec; /* and nanoseconds */
4219 } timespec_t;
4220 # 81 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time_impl.h"
4221 typedef struct timespec timestruc_t; /* definition per SVr4 */
4222 
4223 /*
4224  * The following has been left in for backward compatibility. Portable
4225  * applications should not use the structure name timestruc.
4226  */
4227 
4228 
4229 
4230 
4231 
4232 /*
4233  * Timer specification
4234  */
4235 typedef struct itimerspec { /* definition per POSIX.4 */
4236  struct timespec it_interval; /* timer period */
4237  struct timespec it_value; /* timer expiration */
4238 } itimerspec_t;
4239 # 52 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/select.h" 2
4240 
4241 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time.h" 1
4242 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
4243 /*	  All Rights Reserved  	*/
4244 
4245 
4246 /*
4247  * Copyright (c) 1982, 1986, 1993 Regents of the University of California.
4248  * All rights reserved.  The Berkeley software License Agreement
4249  * specifies the terms and conditions for redistribution.
4250  */
4251 
4252 /*
4253  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
4254  *
4255  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
4256  * Use is subject to license terms.
4257  *
4258  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
4259  */
4260 
4261 /*
4262  * Copyright (c) 2013, 2015 by Delphix. All rights reserved.
4263  */
4264 
4265 
4266 
4267 
4268 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
4269 /*
4270  * CDDL HEADER START
4271  *
4272  * The contents of this file are subject to the terms of the
4273  * Common Development and Distribution License (the "License").
4274  * You may not use this file except in compliance with the License.
4275  *
4276  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4277  * or http://www.opensolaris.org/os/licensing.
4278  * See the License for the specific language governing permissions
4279  * and limitations under the License.
4280  *
4281  * When distributing Covered Code, include this CDDL HEADER in each
4282  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4283  * If applicable, add the following below this CDDL HEADER, with the
4284  * fields enclosed by brackets "[]" replaced with your own identifying
4285  * information: Portions Copyright [yyyy] [name of copyright owner]
4286  *
4287  * CDDL HEADER END
4288  */
4289 
4290 /*
4291  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
4292  * Copyright 2016 Joyent, Inc.
4293  *
4294  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
4295  * Use is subject to license terms.
4296  */
4297 # 28 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time.h" 2
4298 
4299 /*
4300  * Structure returned by gettimeofday(2) system call,
4301  * and used in other calls.
4302  */
4303 # 52 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time.h"
4304 struct timeval {
4305  time_t tv_sec; /* seconds */
4306  suseconds_t tv_usec; /* and microseconds */
4307 };
4308 # 84 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time.h"
4309 struct timezone {
4310  int tz_minuteswest; /* minutes west of Greenwich */
4311  int tz_dsttime; /* type of dst correction */
4312 };
4313 # 96 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time.h"
4314 /*
4315  * Needed for longlong_t type.  Placement of this due to <sys/types.h>
4316  * including <sys/select.h> which relies on the presense of the itimerval
4317  * structure.
4318  */
4319 
4320 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h" 1
4321 /*
4322  * CDDL HEADER START
4323  *
4324  * The contents of this file are subject to the terms of the
4325  * Common Development and Distribution License (the "License").
4326  * You may not use this file except in compliance with the License.
4327  *
4328  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4329  * or http://www.opensolaris.org/os/licensing.
4330  * See the License for the specific language governing permissions
4331  * and limitations under the License.
4332  *
4333  * When distributing Covered Code, include this CDDL HEADER in each
4334  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4335  * If applicable, add the following below this CDDL HEADER, with the
4336  * fields enclosed by brackets "[]" replaced with your own identifying
4337  * information: Portions Copyright [yyyy] [name of copyright owner]
4338  *
4339  * CDDL HEADER END
4340  */
4341 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
4342 /*	  All Rights Reserved  	*/
4343 
4344 
4345 /*
4346  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
4347  * Use is subject to license terms.
4348  *
4349  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
4350  * Copyright 2016 Joyent, Inc.
4351  */
4352 # 103 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time.h" 2
4353 # 123 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time.h"
4354 /*
4355  * Operations on timevals.
4356  */
4357 # 193 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time.h"
4358 /*
4359  * Names of the interval timers, and structure
4360  * defining a timer setting.
4361  */
4362 
4363 
4364 
4365     /* time and when system is running on */
4366     /* behalf of the process. */
4367 
4368     /* time profiling of multithreaded */
4369     /* programs. */
4370 
4371 
4372 struct itimerval {
4373  struct timeval it_interval; /* timer interval */
4374  struct timeval it_value; /* current value */
4375 };
4376 # 239 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time.h"
4377 /*
4378  *	Definitions for commonly used resolutions.
4379  */
4380 # 257 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time.h"
4381 /*
4382  * Time expressed as a 64-bit nanosecond counter.
4383  */
4384 typedef longlong_t hrtime_t;
4385 # 386 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time.h"
4386 int adjtime(struct timeval *, struct timeval *);
4387 
4388 
4389 
4390 
4391 int futimesat(int, const char *, const struct timeval *);
4392 
4393 
4394 
4395 
4396 
4397 int getitimer(int, struct itimerval *);
4398 int utimes(const char *, const struct timeval *);
4399 
4400 
4401 
4402 
4403 int setitimer(int, struct itimerval *,
4404  struct itimerval *);
4405 
4406 
4407 
4408 
4409 /*
4410  * gettimeofday() and settimeofday() were included in SVr4 due to their
4411  * common use in BSD based applications.  They were to be included exactly
4412  * as in BSD, with two parameters.  However, AT&T/USL noted that the second
4413  * parameter was unused and deleted it, thereby making a routine included
4414  * for compatibility, incompatible.
4415  *
4416  * XSH4.2 (spec 1170) defines gettimeofday and settimeofday to have two
4417  * parameters.
4418  *
4419  * This has caused general disagreement in the application community as to
4420  * the syntax of these routines.  Solaris defaults to the XSH4.2 definition.
4421  * The flag _SVID_GETTOD may be used to force the SVID version.
4422  */
4423 
4424 
4425 
4426 
4427 
4428 int settimeofday(struct timeval *, void *);
4429 
4430 hrtime_t gethrtime(void);
4431 hrtime_t gethrvtime(void);
4432 # 441 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time.h"
4433 int gettimeofday(struct timeval *, void *);
4434 
4435 
4436 
4437 
4438 /*
4439  * The inclusion of <time.h> is historical and was added for
4440  * backward compatibility in delta 1.2 when a number of definitions
4441  * were moved out of <sys/time.h>.  More recently, the timespec and
4442  * itimerspec structure definitions, along with the _CLOCK_*, CLOCK_*,
4443  * _TIMER_*, and TIMER_* symbols were moved to <sys/time_impl.h>,
4444  * which is now included by <time.h>.  This change was due to POSIX
4445  * 1003.1b-1993 and X/Open UNIX 98 requirements.  For non-POSIX and
4446  * non-X/Open applications, including this header will still make
4447  * visible these definitions.
4448  */
4449 
4450 
4451 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/time.h" 1
4452 /*
4453  * CDDL HEADER START
4454  *
4455  * The contents of this file are subject to the terms of the
4456  * Common Development and Distribution License (the "License").
4457  * You may not use this file except in compliance with the License.
4458  *
4459  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4460  * or http://www.opensolaris.org/os/licensing.
4461  * See the License for the specific language governing permissions
4462  * and limitations under the License.
4463  *
4464  * When distributing Covered Code, include this CDDL HEADER in each
4465  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4466  * If applicable, add the following below this CDDL HEADER, with the
4467  * fields enclosed by brackets "[]" replaced with your own identifying
4468  * information: Portions Copyright [yyyy] [name of copyright owner]
4469  *
4470  * CDDL HEADER END
4471  */
4472 /*	Copyright (c) 1988 AT&T	*/
4473 /*	  All Rights Reserved  	*/
4474 
4475 
4476 /*
4477  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
4478  *
4479  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
4480  * Use is subject to license terms.
4481  */
4482 /*
4483  * Copyright 2010 Nexenta Systems, Inc.  Al rights reserved.
4484  * Copyright 2016 Joyent, Inc.
4485  */
4486 
4487 
4488 
4489 
4490 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
4491 /*
4492  * CDDL HEADER START
4493  *
4494  * The contents of this file are subject to the terms of the
4495  * Common Development and Distribution License (the "License").
4496  * You may not use this file except in compliance with the License.
4497  *
4498  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4499  * or http://www.opensolaris.org/os/licensing.
4500  * See the License for the specific language governing permissions
4501  * and limitations under the License.
4502  *
4503  * When distributing Covered Code, include this CDDL HEADER in each
4504  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4505  * If applicable, add the following below this CDDL HEADER, with the
4506  * fields enclosed by brackets "[]" replaced with your own identifying
4507  * information: Portions Copyright [yyyy] [name of copyright owner]
4508  *
4509  * CDDL HEADER END
4510  */
4511 
4512 /*
4513  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
4514  * Copyright 2016 Joyent, Inc.
4515  *
4516  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
4517  * Use is subject to license terms.
4518  */
4519 # 40 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/time.h" 2
4520 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/time_iso.h" 1
4521 /*
4522  * CDDL HEADER START
4523  *
4524  * The contents of this file are subject to the terms of the
4525  * Common Development and Distribution License, Version 1.0 only
4526  * (the "License").  You may not use this file except in compliance
4527  * with the License.
4528  *
4529  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4530  * or http://www.opensolaris.org/os/licensing.
4531  * See the License for the specific language governing permissions
4532  * and limitations under the License.
4533  *
4534  * When distributing Covered Code, include this CDDL HEADER in each
4535  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4536  * If applicable, add the following below this CDDL HEADER, with the
4537  * fields enclosed by brackets "[]" replaced with your own identifying
4538  * information: Portions Copyright [yyyy] [name of copyright owner]
4539  *
4540  * CDDL HEADER END
4541  */
4542 /*	Copyright (c) 1988 AT&T	*/
4543 /*	  All Rights Reserved  	*/
4544 
4545 /*
4546  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
4547  * Copyright 2014 PALO, Richard.
4548  *
4549  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
4550  * Use is subject to license terms.
4551  */
4552 
4553 /*
4554  * An application should not include this header directly.  Instead it
4555  * should be included only through the inclusion of other Sun headers.
4556  *
4557  * The contents of this header is limited to identifiers specified in the
4558  * C Standard.  Any new identifiers specified in future amendments to the
4559  * C Standard must be placed in this header.  If these new identifiers
4560  * are required to also be in the C++ Standard "std" namespace, then for
4561  * anything other than macro definitions, corresponding "using" directives
4562  * must also be added to <time.h.h>.
4563  */
4564 
4565 
4566 
4567 
4568 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
4569 /*
4570  * CDDL HEADER START
4571  *
4572  * The contents of this file are subject to the terms of the
4573  * Common Development and Distribution License (the "License").
4574  * You may not use this file except in compliance with the License.
4575  *
4576  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4577  * or http://www.opensolaris.org/os/licensing.
4578  * See the License for the specific language governing permissions
4579  * and limitations under the License.
4580  *
4581  * When distributing Covered Code, include this CDDL HEADER in each
4582  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4583  * If applicable, add the following below this CDDL HEADER, with the
4584  * fields enclosed by brackets "[]" replaced with your own identifying
4585  * information: Portions Copyright [yyyy] [name of copyright owner]
4586  *
4587  * CDDL HEADER END
4588  */
4589 
4590 /*
4591  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
4592  * Copyright 2016 Joyent, Inc.
4593  *
4594  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
4595  * Use is subject to license terms.
4596  */
4597 # 49 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/time_iso.h" 2
4598 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/null.h" 1
4599 /*
4600  * This file and its contents are supplied under the terms of the
4601  * Common Development and Distribution License ("CDDL"), version 1.0.
4602  * You may only use this file in accordance with the terms of version
4603  * 1.0 of the CDDL.
4604  *
4605  * A full copy of the text of the CDDL should have accompanied this
4606  * source.  A copy of the CDDL is also available via the Internet at
4607  * http://www.illumos.org/license/CDDL.
4608  */
4609 
4610 /*
4611  * Copyright 2014-2016 PALO, Richard.
4612  */
4613 # 50 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/time_iso.h" 2
4614 # 80 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/time_iso.h"
4615 struct tm { /* see ctime(3) */
4616  int tm_sec;
4617  int tm_min;
4618  int tm_hour;
4619  int tm_mday;
4620  int tm_mon;
4621  int tm_year;
4622  int tm_wday;
4623  int tm_yday;
4624  int tm_isdst;
4625 };
4626 
4627 
4628 extern char *asctime(const struct tm *);
4629 extern clock_t clock(void);
4630 extern char *ctime(const time_t *);
4631 extern double difftime(time_t, time_t);
4632 extern struct tm *gmtime(const time_t *);
4633 extern struct tm *localtime(const time_t *);
4634 extern time_t mktime(struct tm *);
4635 extern time_t time(time_t *);
4636 extern size_t strftime(char *, size_t, const char *,
4637  const struct tm *);
4638 # 41 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/time.h" 2
4639 /*
4640  * C11 requires sys/time_impl.h for the definition of the struct timespec.
4641  */
4642 
4643 
4644 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h" 1
4645 /*
4646  * CDDL HEADER START
4647  *
4648  * The contents of this file are subject to the terms of the
4649  * Common Development and Distribution License (the "License").
4650  * You may not use this file except in compliance with the License.
4651  *
4652  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4653  * or http://www.opensolaris.org/os/licensing.
4654  * See the License for the specific language governing permissions
4655  * and limitations under the License.
4656  *
4657  * When distributing Covered Code, include this CDDL HEADER in each
4658  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4659  * If applicable, add the following below this CDDL HEADER, with the
4660  * fields enclosed by brackets "[]" replaced with your own identifying
4661  * information: Portions Copyright [yyyy] [name of copyright owner]
4662  *
4663  * CDDL HEADER END
4664  */
4665 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
4666 /*	  All Rights Reserved  	*/
4667 
4668 
4669 /*
4670  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
4671  * Use is subject to license terms.
4672  *
4673  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
4674  * Copyright 2016 Joyent, Inc.
4675  */
4676 # 47 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/time.h" 2
4677 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time_impl.h" 1
4678 /*
4679  * CDDL HEADER START
4680  *
4681  * The contents of this file are subject to the terms of the
4682  * Common Development and Distribution License, Version 1.0 only
4683  * (the "License").  You may not use this file except in compliance
4684  * with the License.
4685  *
4686  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4687  * or http://www.opensolaris.org/os/licensing.
4688  * See the License for the specific language governing permissions
4689  * and limitations under the License.
4690  *
4691  * When distributing Covered Code, include this CDDL HEADER in each
4692  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4693  * If applicable, add the following below this CDDL HEADER, with the
4694  * fields enclosed by brackets "[]" replaced with your own identifying
4695  * information: Portions Copyright [yyyy] [name of copyright owner]
4696  *
4697  * CDDL HEADER END
4698  */
4699 /*
4700  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
4701  * Use is subject to license terms.
4702  */
4703 
4704 /*
4705  * Implementation-private.  This header should not be included
4706  * directly by an application.  The application should instead
4707  * include <time.h> which includes this header conditionally
4708  * depending on which feature test macros are defined. By default,
4709  * this header is included by <time.h>.  X/Open and POSIX
4710  * standards requirements result in this header being included
4711  * by <time.h> only under a restricted set of conditions.
4712  */
4713 # 48 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/time.h" 2
4714 
4715 
4716 /*
4717  * Allow global visibility for symbols defined in
4718  * C++ "std" namespace in <iso/time_iso.h>.
4719  */
4720 # 87 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/time.h"
4721 extern struct tm *gmtime_r(const time_t *,
4722    struct tm *);
4723 extern struct tm *localtime_r(const time_t *,
4724    struct tm *);
4725 # 105 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/time.h"
4726 extern char *strptime(const char *, const char *,
4727   struct tm *);
4728 
4729 
4730 
4731 
4732 
4733 /*
4734  * Neither X/Open nor POSIX allow the inclusion of <signal.h> for the
4735  * definition of the sigevent structure.  Both require the inclusion
4736  * of <signal.h> and <time.h> when using the timer_create() function.
4737  * However, X/Open also specifies that the sigevent structure be defined
4738  * in <time.h> as described in the header <signal.h>.  This prevents
4739  * compiler warnings for applications that only include <time.h> and not
4740  * also <signal.h>.  The sigval union and the sigevent structure is
4741  * therefore defined both here and in <sys/siginfo.h> which gets included
4742  * via inclusion of <signal.h>.
4743  */
4744 
4745 
4746 union sigval {
4747  int sival_int; /* integer value */
4748  void *sival_ptr; /* pointer value */
4749 };
4750 
4751 
4752 
4753 
4754 struct sigevent {
4755  int sigev_notify; /* notification mode */
4756  int sigev_signo; /* signal number */
4757  union sigval sigev_value; /* signal value */
4758  void (*sigev_notify_function)(union sigval);
4759  pthread_attr_t *sigev_notify_attributes;
4760  int __sigev_pad2;
4761 };
4762 
4763 
4764 extern int clock_getres(clockid_t, struct timespec *);
4765 extern int clock_gettime(clockid_t, struct timespec *);
4766 extern int clock_settime(clockid_t, const struct timespec *);
4767 extern int timer_create(clockid_t, struct sigevent *,
4768   timer_t *);
4769 extern int timer_delete(timer_t);
4770 extern int timer_getoverrun(timer_t);
4771 extern int timer_gettime(timer_t, struct itimerspec *);
4772 extern int timer_settime(timer_t, int, const struct itimerspec *,
4773   struct itimerspec *);
4774 
4775 extern int nanosleep(const struct timespec *, struct timespec *);
4776 extern int clock_nanosleep(clockid_t, int,
4777  const struct timespec *, struct timespec *);
4778 
4779 
4780 
4781 
4782 
4783 
4784 extern void tzset(void);
4785 extern char *tzname[2];
4786 
4787 /* CLK_TCK marked as LEGACY in SUSv2 and removed in SUSv3 */
4788 
4789 
4790 extern long _sysconf(int); /* System Private interface to sysconf() */
4791 
4792     /* 3 is _SC_CLK_TCK */
4793 
4794 
4795 
4796 
4797 
4798 extern long timezone;
4799 extern int daylight;
4800 
4801 
4802 
4803 
4804 
4805 
4806 extern time_t timegm(struct tm *);
4807 extern int cftime(char *, char *, const time_t *);
4808 extern int ascftime(char *, const char *, const struct tm *);
4809 extern long altzone;
4810 
4811 
4812 
4813 
4814 extern struct tm *getdate(const char *);
4815 
4816 
4817 
4818 
4819 
4820 extern int getdate_err;
4821 
4822 
4823 
4824 /*
4825  * ctime_r() & asctime_r() prototypes are defined here.
4826  */
4827 
4828 /*
4829  * Previous releases of Solaris, starting at 2.3, provided definitions of
4830  * various functions as specified in POSIX.1c, Draft 6.  For some of these
4831  * functions, the final POSIX 1003.1c standard had a different number of
4832  * arguments and return values.
4833  *
4834  * The following segment of this header provides support for the standard
4835  * interfaces while supporting applications written under earlier
4836  * releases.  The application defines appropriate values of the feature
4837  * test macros _POSIX_C_SOURCE and _POSIX_PTHREAD_SEMANTICS to indicate
4838  * whether it was written to expect the Draft 6 or standard versions of
4839  * these interfaces, before including this header.  This header then
4840  * provides a mapping from the source version of the interface to an
4841  * appropriate binary interface.  Such mappings permit an application
4842  * to be built from libraries and objects which have mixed expectations
4843  * of the definitions of these functions.
4844  *
4845  * For applications using the Draft 6 definitions, the binary symbol is the
4846  * same as the source symbol, and no explicit mapping is needed.  For the
4847  * standard interface, the function func() is mapped to the binary symbol
4848  * _posix_func().  The preferred mechanism for the remapping is a compiler
4849  * #pragma.  If the compiler does not provide such a #pragma, the header file
4850  * defines a static function func() which calls the _posix_func() version;
4851  * this has to be done instead of #define since POSIX specifies that an
4852  * application can #undef the symbol and still be bound to the correct
4853  * implementation.  Unfortunately, the statics confuse lint so we fallback to
4854  * #define in that case.
4855  *
4856  * NOTE: Support for the Draft 6 definitions is provided for compatibility
4857  * only.  New applications/libraries should use the standard definitions.
4858  */
4859 # 280 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/time.h"
4860 extern char *asctime_r(const struct tm *, char *, int);
4861 extern char *ctime_r(const time_t *, char *, int);
4862 # 295 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/time.h"
4863 extern size_t strftime_l(char *, size_t,
4864  const char *, const struct tm *, locale_t);
4865 
4866 
4867 
4868 
4869 
4870 /*
4871  * Note, the C11 standard requires that all the various base values that are
4872  * passed into timespec_get() be non-zero. Hence why TIME_UTC starts at one.
4873  */
4874 
4875 
4876 extern int timespec_get(struct timespec *, int);
4877 # 460 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time.h" 2
4878 
4879 
4880 /*
4881  * The inclusion of <sys/select.h> is needed for the FD_CLR,
4882  * FD_ISSET, FD_SET, and FD_SETSIZE macros as well as the
4883  * select() prototype defined in the XOpen specifications
4884  * beginning with XSH4v2.  Placement required after definition
4885  * for itimerval.
4886  */
4887 
4888 
4889 
4890 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/select.h" 1
4891 /*
4892  * CDDL HEADER START
4893  *
4894  * The contents of this file are subject to the terms of the
4895  * Common Development and Distribution License (the "License").
4896  * You may not use this file except in compliance with the License.
4897  *
4898  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4899  * or http://www.opensolaris.org/os/licensing.
4900  * See the License for the specific language governing permissions
4901  * and limitations under the License.
4902  *
4903  * When distributing Covered Code, include this CDDL HEADER in each
4904  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4905  * If applicable, add the following below this CDDL HEADER, with the
4906  * fields enclosed by brackets "[]" replaced with your own identifying
4907  * information: Portions Copyright [yyyy] [name of copyright owner]
4908  *
4909  * CDDL HEADER END
4910  */
4911 
4912 /*
4913  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
4914  *
4915  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
4916  *
4917  * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
4918  * Use is subject to license terms.
4919  */
4920 
4921 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
4922 /*	  All Rights Reserved	*/
4923 
4924 /*
4925  * University Copyright- Copyright (c) 1982, 1986, 1988
4926  * The Regents of the University of California
4927  * All Rights Reserved
4928  *
4929  * University Acknowledgment- Portions of this document are derived from
4930  * software developed by the University of California, Berkeley, and its
4931  * contributors.
4932  */
4933 # 473 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/time.h" 2
4934 # 54 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/select.h" 2
4935 # 62 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/select.h"
4936 /*
4937  * The sigset_t type is defined in <sys/signal.h> and duplicated
4938  * in <sys/ucontext.h> as a result of XPG4v2 requirements. XPG6
4939  * now allows the visibility of signal.h in this header, however
4940  * an order of inclusion problem occurs as a result of inclusion
4941  * of <sys/select.h> in <signal.h> under certain conditions.
4942  * Rather than include <sys/signal.h> here, we've duplicated
4943  * the sigset_t type instead. This type is required for the XPG6
4944  * introduced pselect() function also declared in this header.
4945  */
4946 
4947 
4948 typedef struct { /* signal set type */
4949  unsigned int __sigbits[4];
4950 } sigset_t;
4951 
4952 
4953 
4954 
4955 /*
4956  * Select uses bit masks of file descriptors in longs.
4957  * These macros manipulate such bit fields.
4958  * FD_SETSIZE may be defined by the user, but the default here
4959  * should be >= NOFILE (param.h).
4960  */
4961 # 108 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/select.h"
4962 typedef long fd_mask;
4963 
4964 typedef long fds_mask;
4965 
4966 /*
4967  *  The value of _NBBY needs to be consistant with the value
4968  *  of NBBY in <sys/param.h>.
4969  */
4970 # 136 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/select.h"
4971 typedef struct fd_set {
4972 
4973 
4974 
4975  long fds_bits[(((1024)+(((sizeof (fds_mask) * 8))-1))/((sizeof (fds_mask) * 8)))];
4976 } fd_set;
4977 # 159 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/select.h"
4978 extern int select(int, fd_set *, fd_set *,
4979  fd_set *, struct timeval *);
4980 
4981 
4982 extern int pselect(int, fd_set *, fd_set *,
4983  fd_set *, const struct timespec *,
4984  const sigset_t *);
4985 # 641 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h" 2
4986 
4987 
4988 
4989 /*
4990  * _VOID was defined to be either void or char but this is not
4991  * required because previous SunOS compilers have accepted the void
4992  * type. However, because many system header and source files use the
4993  * void keyword, the volatile keyword, and ANSI C function prototypes,
4994  * non-ANSI compilers cannot compile the system anyway. The _VOID macro
4995  * should therefore not be used and remains for source compatibility
4996  * only.
4997  */
4998 /* CSTYLED */
4999 # 32 "/home/git3/dehawe/titanic_53/usr/src/cmd/svr4pkg/hdrs/libadm.h" 2
5000 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/vtoc.h" 1
5001 /*
5002  * CDDL HEADER START
5003  *
5004  * The contents of this file are subject to the terms of the
5005  * Common Development and Distribution License (the "License").
5006  * You may not use this file except in compliance with the License.
5007  *
5008  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5009  * or http://www.opensolaris.org/os/licensing.
5010  * See the License for the specific language governing permissions
5011  * and limitations under the License.
5012  *
5013  * When distributing Covered Code, include this CDDL HEADER in each
5014  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5015  * If applicable, add the following below this CDDL HEADER, with the
5016  * fields enclosed by brackets "[]" replaced with your own identifying
5017  * information: Portions Copyright [yyyy] [name of copyright owner]
5018  *
5019  * CDDL HEADER END
5020  */
5021 
5022 /*
5023  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
5024  *
5025  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
5026  * Use is subject to license terms.
5027  * Copyright 2015 Nexenta Systems, Inc. All rights reserved.
5028  * Copyright 2016 Toomas Soome <tsoome@me.com>
5029  */
5030 
5031 
5032 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
5033 /*	  All Rights Reserved  	*/
5034 
5035 
5036 
5037 
5038 
5039 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/dklabel.h" 1
5040 /*
5041  * CDDL HEADER START
5042  *
5043  * The contents of this file are subject to the terms of the
5044  * Common Development and Distribution License (the "License").
5045  * You may not use this file except in compliance with the License.
5046  *
5047  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5048  * or http://www.opensolaris.org/os/licensing.
5049  * See the License for the specific language governing permissions
5050  * and limitations under the License.
5051  *
5052  * When distributing Covered Code, include this CDDL HEADER in each
5053  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5054  * If applicable, add the following below this CDDL HEADER, with the
5055  * fields enclosed by brackets "[]" replaced with your own identifying
5056  * information: Portions Copyright [yyyy] [name of copyright owner]
5057  *
5058  * CDDL HEADER END
5059  */
5060 
5061 /*
5062  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
5063  * Use is subject to license terms.
5064  */
5065 
5066 
5067 
5068 
5069 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/isa_defs.h" 1
5070 /*
5071  * CDDL HEADER START
5072  *
5073  * The contents of this file are subject to the terms of the
5074  * Common Development and Distribution License (the "License").
5075  * You may not use this file except in compliance with the License.
5076  *
5077  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5078  * or http://www.opensolaris.org/os/licensing.
5079  * See the License for the specific language governing permissions
5080  * and limitations under the License.
5081  *
5082  *
5083  * When distributing Covered Code, include this CDDL HEADER in each
5084  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5085  * If applicable, add the following below this CDDL HEADER, with the
5086  * fields enclosed by brackets "[]" replaced with your own identifying
5087  * information: Portions Copyright [yyyy] [name of copyright owner]
5088  *
5089  * CDDL HEADER END
5090  */
5091 
5092 /*
5093  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
5094  * Use is subject to license terms.
5095  * Copyright 2016 Joyent, Inc.
5096  */
5097 # 31 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/dklabel.h" 2
5098 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types32.h" 1
5099 /*
5100  * CDDL HEADER START
5101  *
5102  * The contents of this file are subject to the terms of the
5103  * Common Development and Distribution License (the "License").
5104  * You may not use this file except in compliance with the License.
5105  *
5106  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5107  * or http://www.opensolaris.org/os/licensing.
5108  * See the License for the specific language governing permissions
5109  * and limitations under the License.
5110  *
5111  * When distributing Covered Code, include this CDDL HEADER in each
5112  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5113  * If applicable, add the following below this CDDL HEADER, with the
5114  * fields enclosed by brackets "[]" replaced with your own identifying
5115  * information: Portions Copyright [yyyy] [name of copyright owner]
5116  *
5117  * CDDL HEADER END
5118  */
5119 /*
5120  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
5121  * Use is subject to license terms.
5122  * Copyright 2015 Nexenta Systems, Inc.
5123  */
5124 
5125 
5126 
5127 
5128 #pragma ident "%Z%%M%	%I%	%E% SMI"
5129 
5130 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_types.h" 1
5131 /*
5132  * CDDL HEADER START
5133  *
5134  * The contents of this file are subject to the terms of the
5135  * Common Development and Distribution License, Version 1.0 only
5136  * (the "License").  You may not use this file except in compliance
5137  * with the License.
5138  *
5139  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5140  * or http://www.opensolaris.org/os/licensing.
5141  * See the License for the specific language governing permissions
5142  * and limitations under the License.
5143  *
5144  * When distributing Covered Code, include this CDDL HEADER in each
5145  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5146  * If applicable, add the following below this CDDL HEADER, with the
5147  * fields enclosed by brackets "[]" replaced with your own identifying
5148  * information: Portions Copyright [yyyy] [name of copyright owner]
5149  *
5150  * CDDL HEADER END
5151  */
5152 /*
5153  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
5154  *
5155  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
5156  * Use is subject to license terms.
5157  */
5158 # 33 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types32.h" 2
5159 
5160 
5161 
5162 
5163 
5164 /*
5165  * Interoperability types for programs. Used for:
5166  *
5167  * Crossing between 32-bit and 64-bit domains.
5168  *
5169  * On disk data formats such as filesystem meta data
5170  * and disk label.
5171  *
5172  * Note: Applications should never include this
5173  *       header file.
5174  */
5175 typedef uint32_t caddr32_t;
5176 typedef int32_t daddr32_t;
5177 typedef int32_t off32_t;
5178 typedef uint32_t ino32_t;
5179 typedef int32_t blkcnt32_t;
5180 typedef uint32_t fsblkcnt32_t;
5181 typedef uint32_t fsfilcnt32_t;
5182 typedef int32_t id32_t;
5183 typedef uint32_t major32_t;
5184 typedef uint32_t minor32_t;
5185 typedef int32_t key32_t;
5186 typedef uint32_t mode32_t;
5187 typedef uint32_t uid32_t;
5188 typedef uint32_t gid32_t;
5189 typedef uint32_t nlink32_t;
5190 typedef uint32_t dev32_t;
5191 typedef int32_t pid32_t;
5192 typedef uint32_t size32_t;
5193 typedef int32_t ssize32_t;
5194 typedef int32_t time32_t;
5195 typedef int32_t clock32_t;
5196 typedef uint32_t uintptr32_t;
5197 typedef int32_t intptr32_t;
5198 
5199 struct timeval32 {
5200  time32_t tv_sec; /* seconds */
5201  int32_t tv_usec; /* and microseconds */
5202 };
5203 
5204 typedef struct timespec32 {
5205  time32_t tv_sec; /* seconds */
5206  int32_t tv_nsec; /* and nanoseconds */
5207 } timespec32_t;
5208 
5209 typedef struct timespec32 timestruc32_t;
5210 
5211 typedef struct itimerspec32 {
5212  struct timespec32 it_interval;
5213  struct timespec32 it_value;
5214 } itimerspec32_t;
5215 # 32 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/dklabel.h" 2
5216 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/isa_defs.h" 1
5217 /*
5218  * CDDL HEADER START
5219  *
5220  * The contents of this file are subject to the terms of the
5221  * Common Development and Distribution License (the "License").
5222  * You may not use this file except in compliance with the License.
5223  *
5224  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5225  * or http://www.opensolaris.org/os/licensing.
5226  * See the License for the specific language governing permissions
5227  * and limitations under the License.
5228  *
5229  *
5230  * When distributing Covered Code, include this CDDL HEADER in each
5231  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5232  * If applicable, add the following below this CDDL HEADER, with the
5233  * fields enclosed by brackets "[]" replaced with your own identifying
5234  * information: Portions Copyright [yyyy] [name of copyright owner]
5235  *
5236  * CDDL HEADER END
5237  */
5238 
5239 /*
5240  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
5241  * Use is subject to license terms.
5242  * Copyright 2016 Joyent, Inc.
5243  */
5244 # 33 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/dklabel.h" 2
5245 
5246 
5247 
5248 
5249 
5250 /*
5251  * Miscellaneous defines
5252  */
5253 # 59 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/dklabel.h"
5254 /*
5255  * Reserve two cylinders on SCSI disks.
5256  * One is for the backup disk label and the other is for the deviceid.
5257  *
5258  * IPI disks only reserve one cylinder, but they will go away soon.
5259  * CDROMs do not reserve any cylinders.
5260  */
5261 
5262 
5263 /*
5264  * Format of a Sun disk label.
5265  * Resides in cylinder 0, head 0, sector 0.
5266  *
5267  * sizeof (struct dk_label) should be 512 (the current sector size),
5268  * but should the sector size increase, this structure should remain
5269  * at the beginning of the sector.
5270  */
5271 
5272 
5273 
5274 
5275 
5276 
5277 
5278 typedef daddr_t blkaddr_t;
5279 typedef daddr32_t blkaddr32_t;
5280 
5281 
5282 
5283 /*
5284  * partition headers:  section 1
5285  * Returned in struct dk_allmap by ioctl DKIOC[SG]APART (dkio(7I))
5286  */
5287 struct dk_map {
5288  blkaddr_t dkl_cylno; /* starting cylinder */
5289  blkaddr_t dkl_nblk; /* number of blocks;  if == 0, */
5290      /* partition is undefined */
5291 };
5292 
5293 /*
5294  * partition headers:  section 1
5295  * Fixed size for on-disk dk_label
5296  */
5297 struct dk_map32 {
5298  blkaddr32_t dkl_cylno; /* starting cylinder */
5299  blkaddr32_t dkl_nblk; /* number of blocks;  if == 0, */
5300      /* partition is undefined */
5301 };
5302 
5303 /*
5304  * partition headers:  section 2,
5305  * brought over from AT&T SVr4 vtoc structure.
5306  */
5307 struct dk_map2 {
5308  uint16_t p_tag; /* ID tag of partition */
5309  uint16_t p_flag; /* permission flag */
5310 };
5311 
5312 struct dkl_partition {
5313  uint16_t p_tag; /* ID tag of partition */
5314  uint16_t p_flag; /* permision flags */
5315  blkaddr32_t p_start; /* start sector no of partition */
5316  blkaddr32_t p_size; /* # of blocks in partition */
5317 };
5318 
5319 
5320 /*
5321  * VTOC inclusions from AT&T SVr4
5322  * Fixed sized types for on-disk VTOC
5323  */
5324 
5325 struct dk_vtoc {
5326 
5327  uint32_t v_bootinfo[3]; /* info for mboot (unsupported) */
5328  uint32_t v_sanity; /* to verify vtoc sanity */
5329  uint32_t v_version; /* layout version */
5330  char v_volume[8]; /* volume name */
5331  uint16_t v_sectorsz; /* sector size in bytes */
5332  uint16_t v_nparts; /* number of partitions */
5333  uint32_t v_reserved[10]; /* free space */
5334  struct dkl_partition v_part[16]; /* partition headers */
5335  time32_t timestamp[16]; /* partition timestamp (unsupported) */
5336  char v_asciilabel[128]; /* for compatibility    */
5337 # 154 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/dklabel.h"
5338 };
5339 
5340 /*
5341  * define the amount of disk label padding needed to make
5342  * the entire structure occupy 512 bytes.
5343  */
5344 # 178 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/dklabel.h"
5345 struct dk_label {
5346 
5347  struct dk_vtoc dkl_vtoc; /* vtoc inclusions from AT&T SVr4 */
5348  uint32_t dkl_pcyl; /* # of physical cylinders */
5349  uint32_t dkl_ncyl; /* # of data cylinders */
5350  uint16_t dkl_acyl; /* # of alternate cylinders */
5351  uint16_t dkl_bcyl; /* cyl offset (for fixed head area) */
5352  uint32_t dkl_nhead; /* # of heads */
5353  uint32_t dkl_nsect; /* # of data sectors per track */
5354  uint16_t dkl_intrlv; /* interleave factor */
5355  uint16_t dkl_skew; /* skew factor */
5356  uint16_t dkl_apc; /* alternates per cyl (SCSI only)   */
5357  uint16_t dkl_rpm; /* revolutions per minute */
5358  uint16_t dkl_write_reinstruct; /* # sectors to skip, writes */
5359  uint16_t dkl_read_reinstruct; /* # sectors to skip, reads  */
5360  uint16_t dkl_extra[4]; /* for compatible expansion */
5361  char dkl_pad[(512 - ((sizeof (struct dk_vtoc) + (4 * sizeof (uint32_t)) + (12 * sizeof (uint16_t)) + (2 * (sizeof (uint16_t))))))]; /* unused part of 512 bytes */
5362 # 217 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/dklabel.h"
5363  uint16_t dkl_magic; /* identifies this label format */
5364  uint16_t dkl_cksum; /* xor checksum of sector */
5365 };
5366 # 238 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/dklabel.h"
5367 struct fk_label { /* DOS floppy label */
5368  uchar_t fkl_type;
5369  uchar_t fkl_magich;
5370  uchar_t fkl_magicl;
5371  uchar_t filler;
5372 };
5373 
5374 /*
5375  * Layout of stored fabricated device id  (on-disk)
5376  */
5377 
5378 
5379 
5380 
5381 
5382 struct dk_devid {
5383  uchar_t dkd_rev_hi; /* revision (MSB) */
5384  uchar_t dkd_rev_lo; /* revision (LSB) */
5385  uchar_t dkd_flags; /* flags (not used yet) */
5386  uchar_t dkd_devid[((512) - ((sizeof (uchar_t) * 7)))]; /* devid stored here */
5387  uchar_t dkd_checksum3; /* checksum (MSB) */
5388  uchar_t dkd_checksum2;
5389  uchar_t dkd_checksum1;
5390  uchar_t dkd_checksum0; /* checksum (LSB) */
5391 };
5392 # 40 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/vtoc.h" 2
5393 
5394 
5395 
5396 
5397 
5398 /*
5399  *	Note:  the VTOC is not implemented fully, nor in the manner
5400  *	that AT&T implements it.  AT&T puts the vtoc structure
5401  *	into a sector, usually the second sector (pdsector is first).
5402  *
5403  *	Sun incorporates the tag, flag, version, and volume vtoc fields into
5404  *	its Disk Label, which already has some vtoc-equivalent fields.
5405  *	Upon reading the vtoc with read_vtoc(), the following exceptions
5406  *	occur:
5407  *		v_bootinfo [all]	returned as zero
5408  *		v_sanity		returned as VTOC_SANE
5409  *						if Disk Label was sane
5410  *		v_sectorsz		returned as 512
5411  *		v_reserved [all]	retunred as zero
5412  *		timestamp [all]		returned as zero
5413  *
5414  *	See  dklabel.h, read_vtoc(), and write_vtoc().
5415  */
5416 
5417 
5418      /* (from dkio.h) */
5419 
5420 
5421 
5422 
5423 
5424 /*
5425  * Partition identification tags
5426  */
5427 # 86 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/vtoc.h"
5428 /* Tags for EFI/GPT labels */
5429 
5430 
5431 
5432 
5433 
5434 
5435 /*
5436  * Partition permission flags
5437  */
5438 
5439 
5440 
5441 /*
5442  * error codes for reading & writing vtoc
5443  */
5444 
5445 
5446 
5447 
5448 
5449 
5450 
5451 struct partition {
5452  ushort_t p_tag; /* ID tag of partition */
5453  ushort_t p_flag; /* permission flags */
5454  daddr_t p_start; /* start sector no of partition */
5455  long p_size; /* # of blocks in partition */
5456 };
5457 
5458 struct vtoc {
5459  unsigned long v_bootinfo[3]; /* info needed by mboot (unsupported) */
5460  unsigned long v_sanity; /* to verify vtoc sanity */
5461  unsigned long v_version; /* layout version */
5462  char v_volume[8]; /* volume name */
5463  ushort_t v_sectorsz; /* sector size in bytes */
5464  ushort_t v_nparts; /* number of partitions */
5465  unsigned long v_reserved[10]; /* free space */
5466  struct partition v_part[16]; /* partition headers */
5467  time_t timestamp[16]; /* partition timestamp (unsupported) */
5468  char v_asciilabel[128]; /* for compatibility */
5469 };
5470 
5471 struct extpartition {
5472  ushort_t p_tag; /* ID tag of partition */
5473  ushort_t p_flag; /* permission flags */
5474  ushort_t p_pad[2];
5475  diskaddr_t p_start; /* start sector no of partition */
5476  diskaddr_t p_size; /* # of blocks in partition */
5477 };
5478 
5479 
5480 struct extvtoc {
5481  uint64_t v_bootinfo[3]; /* info needed by mboot (unsupported) */
5482  uint64_t v_sanity; /* to verify vtoc sanity */
5483  uint64_t v_version; /* layout version */
5484  char v_volume[8]; /* volume name */
5485  ushort_t v_sectorsz; /* sector size in bytes */
5486  ushort_t v_nparts; /* number of partitions */
5487  ushort_t pad[2];
5488  uint64_t v_reserved[10];
5489  struct extpartition v_part[16]; /* partition headers */
5490  uint64_t timestamp[16]; /* partition timestamp (unsupported) */
5491  char v_asciilabel[128]; /* for compatibility */
5492 };
5493 # 334 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/vtoc.h"
5494 /*
5495  * These defines are the mode parameter for the checksum routines.
5496  */
5497 
5498 
5499 
5500 extern int read_vtoc(int, struct vtoc *);
5501 extern int write_vtoc(int, struct vtoc *);
5502 extern int read_extvtoc(int, struct extvtoc *);
5503 extern int write_extvtoc(int, struct extvtoc *);
5504 # 33 "/home/git3/dehawe/titanic_53/usr/src/cmd/svr4pkg/hdrs/libadm.h" 2
5505 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/limits.h" 1
5506 /*
5507  * CDDL HEADER START
5508  *
5509  * The contents of this file are subject to the terms of the
5510  * Common Development and Distribution License (the "License").
5511  * You may not use this file except in compliance with the License.
5512  *
5513  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5514  * or http://www.opensolaris.org/os/licensing.
5515  * See the License for the specific language governing permissions
5516  * and limitations under the License.
5517  *
5518  * When distributing Covered Code, include this CDDL HEADER in each
5519  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5520  * If applicable, add the following below this CDDL HEADER, with the
5521  * fields enclosed by brackets "[]" replaced with your own identifying
5522  * information: Portions Copyright [yyyy] [name of copyright owner]
5523  *
5524  * CDDL HEADER END
5525  */
5526 
5527 /*
5528  * Copyright (c) 2013 Gary Mills
5529  *
5530  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
5531  * Use is subject to license terms.
5532  */
5533 
5534 /*	Copyright (c) 1988 AT&T	*/
5535 /*	  All Rights Reserved  	*/
5536 
5537 
5538 
5539 
5540 
5541 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/feature_tests.h" 1
5542 /*
5543  * CDDL HEADER START
5544  *
5545  * The contents of this file are subject to the terms of the
5546  * Common Development and Distribution License (the "License").
5547  * You may not use this file except in compliance with the License.
5548  *
5549  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5550  * or http://www.opensolaris.org/os/licensing.
5551  * See the License for the specific language governing permissions
5552  * and limitations under the License.
5553  *
5554  * When distributing Covered Code, include this CDDL HEADER in each
5555  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5556  * If applicable, add the following below this CDDL HEADER, with the
5557  * fields enclosed by brackets "[]" replaced with your own identifying
5558  * information: Portions Copyright [yyyy] [name of copyright owner]
5559  *
5560  * CDDL HEADER END
5561  */
5562 
5563 /*
5564  * Copyright 2013 Garrett D'Amore <garrett@damore.org>
5565  * Copyright 2016 Joyent, Inc.
5566  *
5567  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
5568  * Use is subject to license terms.
5569  */
5570 # 37 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/limits.h" 2
5571 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/isa_defs.h" 1
5572 /*
5573  * CDDL HEADER START
5574  *
5575  * The contents of this file are subject to the terms of the
5576  * Common Development and Distribution License (the "License").
5577  * You may not use this file except in compliance with the License.
5578  *
5579  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5580  * or http://www.opensolaris.org/os/licensing.
5581  * See the License for the specific language governing permissions
5582  * and limitations under the License.
5583  *
5584  *
5585  * When distributing Covered Code, include this CDDL HEADER in each
5586  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5587  * If applicable, add the following below this CDDL HEADER, with the
5588  * fields enclosed by brackets "[]" replaced with your own identifying
5589  * information: Portions Copyright [yyyy] [name of copyright owner]
5590  *
5591  * CDDL HEADER END
5592  */
5593 
5594 /*
5595  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
5596  * Use is subject to license terms.
5597  * Copyright 2016 Joyent, Inc.
5598  */
5599 # 38 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/limits.h" 2
5600 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/limits_iso.h" 1
5601 /*
5602  * CDDL HEADER START
5603  *
5604  * The contents of this file are subject to the terms of the
5605  * Common Development and Distribution License, Version 1.0 only
5606  * (the "License").  You may not use this file except in compliance
5607  * with the License.
5608  *
5609  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5610  * or http://www.opensolaris.org/os/licensing.
5611  * See the License for the specific language governing permissions
5612  * and limitations under the License.
5613  *
5614  * When distributing Covered Code, include this CDDL HEADER in each
5615  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5616  * If applicable, add the following below this CDDL HEADER, with the
5617  * fields enclosed by brackets "[]" replaced with your own identifying
5618  * information: Portions Copyright [yyyy] [name of copyright owner]
5619  *
5620  * CDDL HEADER END
5621  */
5622 /*
5623  * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
5624  * Use is subject to license terms.
5625  */
5626 
5627 /*	Copyright (c) 1988 AT&T	*/
5628 /*	  All Rights Reserved  	*/
5629 
5630 
5631 /*
5632  * An application should not include this header directly.  Instead it
5633  * should be included only through the inclusion of other Sun headers.
5634  *
5635  * The contents of this header is limited to identifiers specified in the
5636  * C Standard.  Any new identifiers specified in future amendments to the
5637  * C Standard must be placed in this header.  If these new identifiers
5638  * are required to also be in the C++ Standard "std" namespace, then for
5639  * anything other than macro definitions, corresponding "using" directives
5640  * must also be added to <limits.h>.
5641  */
5642 
5643 
5644 
5645 
5646 #pragma ident "%Z%%M%	%I%	%E% SMI"
5647 
5648 
5649 
5650 
5651 
5652 /*
5653  * Sizes of integral types
5654  */
5655 # 87 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/iso/limits_iso.h"
5656      /* min value of a "long int" */
5657 
5658 
5659 
5660 
5661 
5662      /* min value of a long long */
5663 
5664      /* max value of a long long */
5665 
5666      /* max value of "unsigned long long */
5667 # 39 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/limits.h" 2
5668 
5669 /*
5670  * Include fixed width type limits as proposed by the ISO/JTC1/SC22/WG14 C
5671  * committee's working draft for the revision of the current ISO C standard,
5672  * ISO/IEC 9899:1990 Programming language - C.  These are not currently
5673  * required by any standard but constitute a useful, general purpose set
5674  * of type definitions and limits which is namespace clean with respect to
5675  * all standards.
5676  */
5677 
5678 
5679 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/int_limits.h" 1
5680 /*
5681  * CDDL HEADER START
5682  *
5683  * The contents of this file are subject to the terms of the
5684  * Common Development and Distribution License, Version 1.0 only
5685  * (the "License").  You may not use this file except in compliance
5686  * with the License.
5687  *
5688  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5689  * or http://www.opensolaris.org/os/licensing.
5690  * See the License for the specific language governing permissions
5691  * and limitations under the License.
5692  *
5693  * When distributing Covered Code, include this CDDL HEADER in each
5694  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5695  * If applicable, add the following below this CDDL HEADER, with the
5696  * fields enclosed by brackets "[]" replaced with your own identifying
5697  * information: Portions Copyright [yyyy] [name of copyright owner]
5698  *
5699  * CDDL HEADER END
5700  */
5701 /*
5702  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
5703  *
5704  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
5705  * Use is subject to license terms.
5706  */
5707 # 51 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/limits.h" 2
5708 # 62 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/limits.h"
5709 /*
5710  * ARG_MAX is calculated as follows:
5711  * NCARGS - space for other stuff on initial stack
5712  * like aux vectors, saved registers, etc..
5713  */
5714 # 97 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/limits.h"
5715 /*
5716  * POSIX conformant definitions - An implementation may define
5717  * other symbols which reflect the actual implementation. Alternate
5718  * definitions may not be as restrictive as the POSIX definitions.
5719  */
5720 # 140 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/limits.h"
5721 /* POSIX.1c conformant */
5722 
5723 
5724 
5725 
5726 
5727 /* UNIX 03 conformant */
5728 
5729 
5730 
5731 
5732 
5733 /*
5734  * POSIX.2 and XPG4-XSH4 conformant definitions
5735  */
5736 # 164 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/limits.h"
5737 /* UNIX 03 conformant */
5738 # 186 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/limits.h"
5739 /*
5740  * For dual definitions for PASS_MAX and sysconf.c
5741  */
5742 # 201 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/limits.h"
5743     /* NLS printf() and scanf() */
5744 # 216 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/limits.h"
5745 /* Marked as LEGACY in SUSv2 and removed in UNIX 03 */
5746 
5747 
5748 
5749        /* of a double */
5750 
5751 
5752        /* of a "float" */
5753 
5754 
5755 /* Marked as LEGACY in SUSv1 and removed in SUSv2 */
5756 
5757 
5758        /* of a double */
5759 
5760        /* of a float */
5761 # 248 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/limits.h"
5762 /*
5763  * POSIX 1003.1a, section 2.9.5, table 2-5 contains [NAME_MAX] and the
5764  * related text states:
5765  *
5766  * A definition of one of the values from Table 2-5 shall be omitted from the
5767  * <limits.h> on specific implementations where the corresponding value is
5768  * equal to or greater than the stated minimum, but where the value can vary
5769  * depending on the file to which it is applied. The actual value supported for
5770  * a specific pathname shall be provided by the pathconf() (5.7.1) function.
5771  *
5772  * This is clear that any machine supporting multiple file system types
5773  * and/or a network can not include this define, regardless of protection
5774  * by the _POSIX_SOURCE and _POSIX_C_SOURCE flags.
5775  *
5776  * #define	NAME_MAX	14
5777  */
5778 # 297 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/limits.h"
5779     /* Increased for illumos */
5780 # 34 "/home/git3/dehawe/titanic_53/usr/src/cmd/svr4pkg/hdrs/libadm.h" 2
5781 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/stdio.h" 1
5782 /*
5783  * CDDL HEADER START
5784  *
5785  * The contents of this file are subject to the terms of the
5786  * Common Development and Distribution License (the "License").
5787  * You may not use this file except in compliance with the License.
5788  *
5789  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5790  * or http://www.opensolaris.org/os/licensing.
5791  * See the License for the specific language governing permissions
5792  * and limitations under the License.
5793  *
5794  * When distributing Covered Code, include this CDDL HEADER in each
5795  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5796  * If applicable, add the following below this CDDL HEADER, with the
5797  * fields enclosed by brackets "[]" replaced with your own identifying
5798  * information: Portions Copyright [yyyy] [name of copyright owner]
5799  *
5800  * CDDL HEADER END
5801  */
5802 
5803 /*
5804  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
5805  * Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
5806  */
5807 
5808 /*	Copyright (c) 1988 AT&T	*/
5809 /*	  All Rights Reserved  	*/
5810 
5811 /*
5812  * User-visible pieces of the ANSI C standard I/O package.
5813  */
5814 # 35 "/home/git3/dehawe/titanic_53/usr/src/cmd/svr4pkg/hdrs/libadm.h" 2
5815 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/pkgstrct.h" 1
5816 /*
5817  * CDDL HEADER START
5818  *
5819  * The contents of this file are subject to the terms of the
5820  * Common Development and Distribution License (the "License").
5821  * You may not use this file except in compliance with the License.
5822  *
5823  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5824  * or http://www.opensolaris.org/os/licensing.
5825  * See the License for the specific language governing permissions
5826  * and limitations under the License.
5827  *
5828  * When distributing Covered Code, include this CDDL HEADER in each
5829  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5830  * If applicable, add the following below this CDDL HEADER, with the
5831  * fields enclosed by brackets "[]" replaced with your own identifying
5832  * information: Portions Copyright [yyyy] [name of copyright owner]
5833  *
5834  * CDDL HEADER END
5835  */
5836 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
5837 /*	  All Rights Reserved  	*/
5838 
5839 /*
5840  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
5841  * Use is subject to license terms.
5842  */
5843 
5844 
5845 
5846 
5847 #pragma ident "%Z%%M%	%I%	%E% SMI"
5848 
5849 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/time.h" 1
5850 /*
5851  * CDDL HEADER START
5852  *
5853  * The contents of this file are subject to the terms of the
5854  * Common Development and Distribution License (the "License").
5855  * You may not use this file except in compliance with the License.
5856  *
5857  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5858  * or http://www.opensolaris.org/os/licensing.
5859  * See the License for the specific language governing permissions
5860  * and limitations under the License.
5861  *
5862  * When distributing Covered Code, include this CDDL HEADER in each
5863  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5864  * If applicable, add the following below this CDDL HEADER, with the
5865  * fields enclosed by brackets "[]" replaced with your own identifying
5866  * information: Portions Copyright [yyyy] [name of copyright owner]
5867  *
5868  * CDDL HEADER END
5869  */
5870 /*	Copyright (c) 1988 AT&T	*/
5871 /*	  All Rights Reserved  	*/
5872 
5873 
5874 /*
5875  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
5876  *
5877  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
5878  * Use is subject to license terms.
5879  */
5880 /*
5881  * Copyright 2010 Nexenta Systems, Inc.  Al rights reserved.
5882  * Copyright 2016 Joyent, Inc.
5883  */
5884 # 35 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/pkgstrct.h" 2
5885 # 54 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/pkgstrct.h"
5886 extern char *errstr;
5887 
5888 struct ainfo {
5889  char *local;
5890  mode_t mode;
5891  char owner[64 +1];
5892  char group[64 +1];
5893  major_t major;
5894  minor_t minor;
5895 };
5896 
5897 struct cinfo {
5898  long cksum;
5899  fsblkcnt_t size;
5900  time_t modtime;
5901 };
5902 
5903 struct pinfo {
5904  char status;
5905  char pkg[64 +1];
5906  char editflag;
5907  char aclass[64 +1];
5908  struct pinfo
5909   *next;
5910 };
5911 
5912 struct cfent {
5913  short volno;
5914  char ftype;
5915  char pkg_class[64 +1];
5916  int pkg_class_idx;
5917  char *path;
5918  struct ainfo ainfo;
5919  struct cinfo cinfo;
5920  short npkgs;
5921  struct pinfo
5922   *pinfo;
5923 };
5924 
5925 /* averify() & cverify() error codes */
5926 # 36 "/home/git3/dehawe/titanic_53/usr/src/cmd/svr4pkg/hdrs/libadm.h" 2
5927 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/pkginfo.h" 1
5928 /*
5929  * CDDL HEADER START
5930  *
5931  * The contents of this file are subject to the terms of the
5932  * Common Development and Distribution License, Version 1.0 only
5933  * (the "License").  You may not use this file except in compliance
5934  * with the License.
5935  *
5936  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5937  * or http://www.opensolaris.org/os/licensing.
5938  * See the License for the specific language governing permissions
5939  * and limitations under the License.
5940  *
5941  * When distributing Covered Code, include this CDDL HEADER in each
5942  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5943  * If applicable, add the following below this CDDL HEADER, with the
5944  * fields enclosed by brackets "[]" replaced with your own identifying
5945  * information: Portions Copyright [yyyy] [name of copyright owner]
5946  *
5947  * CDDL HEADER END
5948  */
5949 /*
5950  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
5951  */
5952 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
5953 /*	  All Rights Reserved  	*/
5954 # 41 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/pkginfo.h"
5955 struct pkginfo {
5956  char *pkginst;
5957  char *name;
5958  char *arch;
5959  char *version;
5960  char *vendor;
5961  char *basedir;
5962  char *catg;
5963  char status;
5964 };
5965 
5966 extern char *pkgdir;
5967 
5968 extern char *pkgparam(char *, char *);
5969 extern int pkginfo(struct pkginfo *, char *, ...),
5970   pkgnmchk(char *, char *, int);
5971 # 37 "/home/git3/dehawe/titanic_53/usr/src/cmd/svr4pkg/hdrs/libadm.h" 2
5972 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/valtools.h" 1
5973 /*
5974  * CDDL HEADER START
5975  *
5976  * The contents of this file are subject to the terms of the
5977  * Common Development and Distribution License, Version 1.0 only
5978  * (the "License").  You may not use this file except in compliance
5979  * with the License.
5980  *
5981  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5982  * or http://www.opensolaris.org/os/licensing.
5983  * See the License for the specific language governing permissions
5984  * and limitations under the License.
5985  *
5986  * When distributing Covered Code, include this CDDL HEADER in each
5987  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5988  * If applicable, add the following below this CDDL HEADER, with the
5989  * fields enclosed by brackets "[]" replaced with your own identifying
5990  * information: Portions Copyright [yyyy] [name of copyright owner]
5991  *
5992  * CDDL HEADER END
5993  */
5994 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
5995 /*	  All Rights Reserved  	*/
5996 
5997 
5998 
5999 
6000 
6001 #pragma ident "%Z%%M%	%I%	%E% SMI"
6002 
6003 
6004 
6005 
6006 
6007 struct _choice_ {
6008  char *token;
6009  char *text;
6010  struct _choice_ *next;
6011 };
6012 
6013 struct _menu_ {
6014  char *label;
6015  int attr;
6016  short longest;
6017  short nchoices;
6018  struct _choice_
6019   *choice;
6020  char **invis;
6021 };
6022 
6023 typedef struct _menu_ CKMENU;
6024 # 38 "/home/git3/dehawe/titanic_53/usr/src/cmd/svr4pkg/hdrs/libadm.h" 2
6025 # 1 "/home/git3/dehawe/titanic_53/usr/src/cmd/svr4pkg/hdrs/install.h" 1
6026 /*
6027  * CDDL HEADER START
6028  *
6029  * The contents of this file are subject to the terms of the
6030  * Common Development and Distribution License (the "License").
6031  * You may not use this file except in compliance with the License.
6032  *
6033  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6034  * or http://www.opensolaris.org/os/licensing.
6035  * See the License for the specific language governing permissions
6036  * and limitations under the License.
6037  *
6038  * When distributing Covered Code, include this CDDL HEADER in each
6039  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6040  * If applicable, add the following below this CDDL HEADER, with the
6041  * fields enclosed by brackets "[]" replaced with your own identifying
6042  * information: Portions Copyright [yyyy] [name of copyright owner]
6043  *
6044  * CDDL HEADER END
6045  */
6046 
6047 /*
6048  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
6049  * Use is subject to license terms.
6050  */
6051 
6052 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
6053 /* All Rights Reserved */
6054 # 38 "/home/git3/dehawe/titanic_53/usr/src/cmd/svr4pkg/hdrs/install.h"
6055 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/sys/types.h" 1
6056 /*
6057  * CDDL HEADER START
6058  *
6059  * The contents of this file are subject to the terms of the
6060  * Common Development and Distribution License (the "License").
6061  * You may not use this file except in compliance with the License.
6062  *
6063  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6064  * or http://www.opensolaris.org/os/licensing.
6065  * See the License for the specific language governing permissions
6066  * and limitations under the License.
6067  *
6068  * When distributing Covered Code, include this CDDL HEADER in each
6069  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6070  * If applicable, add the following below this CDDL HEADER, with the
6071  * fields enclosed by brackets "[]" replaced with your own identifying
6072  * information: Portions Copyright [yyyy] [name of copyright owner]
6073  *
6074  * CDDL HEADER END
6075  */
6076 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
6077 /*	  All Rights Reserved  	*/
6078 
6079 
6080 /*
6081  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
6082  * Use is subject to license terms.
6083  *
6084  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
6085  * Copyright 2016 Joyent, Inc.
6086  */
6087 # 39 "/home/git3/dehawe/titanic_53/usr/src/cmd/svr4pkg/hdrs/install.h" 2
6088 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/limits.h" 1
6089 /*
6090  * CDDL HEADER START
6091  *
6092  * The contents of this file are subject to the terms of the
6093  * Common Development and Distribution License (the "License").
6094  * You may not use this file except in compliance with the License.
6095  *
6096  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6097  * or http://www.opensolaris.org/os/licensing.
6098  * See the License for the specific language governing permissions
6099  * and limitations under the License.
6100  *
6101  * When distributing Covered Code, include this CDDL HEADER in each
6102  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6103  * If applicable, add the following below this CDDL HEADER, with the
6104  * fields enclosed by brackets "[]" replaced with your own identifying
6105  * information: Portions Copyright [yyyy] [name of copyright owner]
6106  *
6107  * CDDL HEADER END
6108  */
6109 
6110 /*
6111  * Copyright (c) 2013 Gary Mills
6112  *
6113  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
6114  * Use is subject to license terms.
6115  */
6116 
6117 /*	Copyright (c) 1988 AT&T	*/
6118 /*	  All Rights Reserved  	*/
6119 # 40 "/home/git3/dehawe/titanic_53/usr/src/cmd/svr4pkg/hdrs/install.h" 2
6120 # 1 "/home/git3/dehawe/titanic_53/proto/root_i386/usr/include/pkgstrct.h" 1
6121 /*
6122  * CDDL HEADER START
6123  *
6124  * The contents of this file are subject to the terms of the
6125  * Common Development and Distribution License (the "License").
6126  * You may not use this file except in compliance with the License.
6127  *
6128  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6129  * or http://www.opensolaris.org/os/licensing.
6130  * See the License for the specific language governing permissions
6131  * and limitations under the License.
6132  *
6133  * When distributing Covered Code, include this CDDL HEADER in each
6134  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6135  * If applicable, add the following below this CDDL HEADER, with the
6136  * fields enclosed by brackets "[]" replaced with your own identifying
6137  * information: Portions Copyright [yyyy] [name of copyright owner]
6138  *
6139  * CDDL HEADER END
6140  */
6141 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
6142 /*	  All Rights Reserved  	*/
6143 
6144 /*
6145  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
6146  * Use is subject to license terms.
6147  */
6148 # 41 "/home/git3/dehawe/titanic_53/usr/src/cmd/svr4pkg/hdrs/install.h" 2
6149 
6150 /* Settings for procedure scripts */
6151 
6152 
6153 
6154 
6155 
6156 
6157 /* Settings for class action scripts */
6158 
6159 
6160 
6161 
6162 
6163 /* Settings for non-privileged scripts */
6164 # 64 "/home/git3/dehawe/titanic_53/usr/src/cmd/svr4pkg/hdrs/install.h"
6165 /* Settings for admin "rscriptalt" option */
6166 # 80 "/home/git3/dehawe/titanic_53/usr/src/cmd/svr4pkg/hdrs/install.h"
6167 /* Additional cfent/cfextra codes. */
6168 
6169 
6170 
6171 /* This holds admin file data. */
6172 struct admin {
6173  char *mail;
6174  char *instance;
6175  char *partial;
6176  char *runlevel;
6177  char *idepend;
6178  char *rdepend;
6179  char *space;
6180  char *setuid;
6181  char *conflict;
6182  char *action;
6183  char *networktimeout;
6184  char *networkretries;
6185  char *authentication;
6186  char *keystore;
6187  char *proxy;
6188  char *basedir;
6189  char *rscriptalt;
6190 };
6191 
6192 /*
6193  * This table details the status of all filesystems available to the target
6194  * host.
6195  */
6196 struct fstable {
6197  char *name; /* name of filesystem, (mount point) */
6198  int namlen; /* The length of the name (mountpoint) */
6199  fsblkcnt_t bsize; /* fundamental file system block size */
6200  fsblkcnt_t frsize; /* file system fragment size */
6201  fsblkcnt_t bfree; /* total # of free blocks */
6202  fsblkcnt_t bused; /* total # of used blocks */
6203  fsblkcnt_t ffree; /* total # of free file nodes */
6204  fsblkcnt_t fused; /* total # of used file nodes */
6205  char *fstype; /* type of filesystem - nfs, lo, ... */
6206  char *remote_name; /* client's mounted filesystem */
6207  unsigned writeable:1; /* access permission */
6208  unsigned write_tested:1; /* access permission fully tested */
6209  unsigned remote:1; /* on a remote filesystem */
6210  unsigned mounted:1; /* actually mounted right now */
6211  unsigned srvr_map:1; /* use server_map() */
6212  unsigned cl_mounted:1; /* mounted in client space */
6213  unsigned mnt_failed:1; /* attempt to loopback mount failed */
6214  unsigned served:1; /* filesystem comes from a server */
6215 };
6216 # 39 "/home/git3/dehawe/titanic_53/usr/src/cmd/svr4pkg/hdrs/libadm.h" 2
6217 # 47 "/home/git3/dehawe/titanic_53/usr/src/cmd/svr4pkg/hdrs/libadm.h"
6218 /*
6219  * ckdate.c
6220  */
6221 extern int ckdate_err (char *fmt, char *error);
6222 extern int ckdate_hlp (char *fmt, char *help);
6223 extern int ckdate_val (char *fmt, char *input);
6224 extern int ckdate (char *date, char *fmt, char *defstr, char *error, char *help, char *prompt);
6225 
6226 
6227 /*
6228  * ckgid.c
6229  */
6230 extern int ckgid_dsp (void);
6231 extern int ckgid_val (char *grpnm);
6232 extern int ckgrpfile (void);
6233 extern void ckgid_err (int disp, char *error);
6234 extern void ckgid_hlp (int disp, char *help);
6235 extern int ckgid (char *gid, short disp, char *defstr, char *error, char *help, char *prompt);
6236 
6237 
6238 /*
6239  * ckint.c
6240  */
6241 extern int ckint_val (char *value, short base);
6242 extern void ckint_err (short base, char *error);
6243 extern void ckint_hlp (short base, char *help);
6244 extern int ckint (long *intval, short base, char *defstr, char *error, char *help, char *prompt);
6245 
6246 
6247 /*
6248  * ckitem.c
6249  */
6250 extern CKMENU *allocmenu (char *label, int attr);
6251 extern void ckitem_err (CKMENU *menup, char *error);
6252 extern void ckitem_hlp (CKMENU *menup, char *help);
6253 extern int ckitem (CKMENU *menup, char *item[], short max, char *defstr, char *error, char *help, char *prompt);
6254 
6255 
6256 extern int setitem (CKMENU *menup, char *choice);
6257 extern int setinvis (CKMENU *menup, char *choice);
6258 extern void printmenu (CKMENU *menup);
6259 
6260 /*
6261  * ckkeywd.c
6262  */
6263 extern int ckkeywd (char *strval, char *keyword[], char *defstr, char *error, char *help, char *prompt);
6264 
6265 
6266 /*
6267  * ckpath.c
6268  */
6269 extern int ckpath_stx (int pflags);
6270 extern int ckpath_val (char *path, int pflags);
6271 extern void ckpath_err (int pflags, char *error, char *input);
6272 extern void ckpath_hlp (int pflags, char *help);
6273 extern int ckpath (char *pathval, int pflags, char *defstr, char *error, char *help, char *prompt);
6274 
6275 
6276 /*
6277  * ckrange.c
6278  */
6279 extern void ckrange_err (long lower, long upper, int base, char *error);
6280 
6281 extern void ckrange_hlp (long lower, long upper, int base, char *help);
6282 extern int ckrange_val (long lower, long upper, int base, char *input);
6283 
6284 extern int ckrange (long *rngval, long lower, long upper, short base, char *defstr, char *error, char *help, char *prompt);
6285 
6286 
6287 
6288 /*
6289  * ckstr.c
6290  */
6291 extern int ckstr_val (char *regexp[], int length, char *input);
6292 extern void ckstr_err (char *regexp[], int length, char *error, char *input);
6293 
6294 extern void ckstr_hlp (char *regexp[], int length, char *help);
6295 extern int ckstr (char *strval, char *regexp[], int length, char *defstr, char *error, char *help, char *prompt);
6296 
6297 
6298 
6299 /*
6300  * cktime.c
6301  */
6302 extern int cktime_val (char *fmt, char *input);
6303 extern int cktime_err (char *fmt, char *error);
6304 extern int cktime_hlp (char *fmt, char *help);
6305 extern int fmtcheck (char *fmt);
6306 extern int cktime (char *tod, char *fmt, char *defstr, char *error, char *help, char *prompt);
6307 
6308 
6309 /*
6310  * ckuid.c
6311  */
6312 extern int ckuid_dsp (void);
6313 extern int ckuid_val (char *usrnm);
6314 extern int ckpwdfile (void);
6315 extern void ckuid_err (short disp, char *error);
6316 extern void ckuid_hlp (int disp, char *help);
6317 extern int ckuid (char *uid, short disp, char *defstr, char *error, char *help, char *prompt);
6318 
6319 
6320 /*
6321  * ckyorn.c
6322  */
6323 extern int ckyorn_val (char *str);
6324 extern void ckyorn_err (char *error);
6325 extern void ckyorn_hlp (char *help);
6326 extern int ckyorn (char *yorn, char *defstr, char *error, char *help, char *prompt);
6327 
6328 
6329 /*
6330  * devattr.c
6331  */
6332 extern char *devattr (char *device, char *attribute);
6333 
6334 /*
6335  * devreserv.c
6336  */
6337 extern char *_rsvtabpath (void);
6338 extern int _openlkfile (void);
6339 extern int _closelkfile (void);
6340 extern int unreserv (long key, char *device);
6341 extern char **devreserv (long key, char **rsvlst[]);
6342 extern int devfree (long key, char *device);
6343 extern struct reservdev **reservdev (void);
6344 
6345 /*
6346  * devtab.c
6347  */
6348 extern void _setdevtab (void);
6349 extern void _enddevtab (void);
6350 extern char *_devtabpath (void);
6351 extern int _opendevtab (char *mode);
6352 extern int _validalias (char *alias);
6353 extern struct devtabent *_getdevtabent (void);
6354 extern void _freedevtabent (struct devtabent *ent);
6355 extern struct devtabent *_getdevrec (char *device);
6356 
6357 /*
6358  * dgrpent.c
6359  */
6360 extern void _setdgrptab (void);
6361 extern void _enddgrptab (void);
6362 extern char *_dgrptabpath (void);
6363 extern int _opendgrptab (char *mode);
6364 extern struct dgrptabent *_getdgrptabent (void);
6365 extern void _freedgrptabent (struct dgrptabent *ent);
6366 extern struct dgrptabent *_getdgrprec (char *dgroup);
6367 
6368 /*
6369  * fulldevnm.c
6370  */
6371 extern char *getfullblkname (char *cp);
6372 extern char *getfullrawname (char *cp);
6373 
6374 /*
6375  * getdev.c
6376  */
6377 extern char **getdev (char **devices, char **criteria, int options);
6378 
6379 /*
6380  * getdgrp.c
6381  */
6382 extern char **getdgrp (char **dgroups, char **criteria, int options);
6383 
6384 /*
6385  * getinput.c
6386  */
6387 extern int getinput (char *s);
6388 
6389 /*
6390  * getvol.c
6391  */
6392 extern int getvol (char *device, char *label, int options, char *prompt);
6393 
6394 extern int _getvol (char *device, char *label, int options, char *prompt, char *norewind);
6395 
6396 extern void doremovecmd (char *device, int echo);
6397 
6398 /*
6399  * listdev.c
6400  */
6401 extern char **listdev (char *device);
6402 
6403 /*
6404  * listdgrp.c
6405  */
6406 extern char **listdgrp (char *dgroup);
6407 
6408 /*
6409  * memory.c
6410  */
6411 extern long sysmem (void);
6412 extern long asysmem (void);
6413 
6414 /*
6415  * pkginfo.c
6416  */
6417 extern int pkginfo (struct pkginfo *info, char *pkginst, ...);
6418 extern int fpkginfo (struct pkginfo *info, char *pkginst);
6419 extern char *fpkginst (char *pkg, ...);
6420 
6421 /*
6422  * pkgnmchk.c
6423  */
6424 extern int pkgnmchk (register char *pkg, register char *spec, int presvr4flg);
6425 
6426 extern void set_ABI_namelngth (void);
6427 extern int get_ABI_namelngth (void);
6428 
6429 /*
6430  * pkgparam.c
6431  */
6432 extern char *fpkgparam (FILE *fp, char *param);
6433 extern char *pkgparam (char *pkg, char *param);
6434 extern void set_PKGpaths (char *path);
6435 extern char *get_PKGLOC (void);
6436 extern char *get_PKGADM (void);
6437 extern void set_PKGADM(char *newpath);
6438 extern void set_PKGLOC(char *newpath);
6439 
6440 /*
6441  * putdev.c
6442  */
6443 extern int _putdevtabrec (FILE *stream, struct devtabent *rec);
6444 extern int _adddevtabrec (char *alias, char **attrval);
6445 extern int _moddevtabrec (char *device, char **attrval);
6446 extern int _rmdevtabrec (char *device);
6447 extern int _rmdevtabattrs (char *device, char **attributes, char ***notfounds);
6448 
6449 
6450 /*
6451  * putdgrp.c
6452  */
6453 extern int _putdgrptabrec (FILE *stream, struct dgrptabent *rec);
6454 extern int _adddgrptabrec (char *dgrp, char **members);
6455 extern int _rmdgrptabrec (char *dgrp);
6456 extern int _rmdgrpmems (char *dgrp, char **mems, char ***notfounds);
6457 
6458 /*
6459  * puterror.c
6460  */
6461 extern void puterror (FILE *fp, char *defmesg, char *error);
6462 
6463 /*
6464  * puthelp.c
6465  */
6466 extern void puthelp (FILE *fp, char *defmesg, char *help);
6467 
6468 /*
6469  * putprmpt.c
6470  */
6471 extern void putprmpt (FILE *fp, char *prompt, char *choices[], char *defstr);
6472 
6473 
6474 /*
6475  * puttext.c
6476  */
6477 extern int puttext (FILE *fp, char *str, int lmarg, int rmarg);
6478 
6479 /*
6480  * rdwr_vtoc.c
6481  */
6482 extern int read_vtoc (int fd, struct vtoc *vtoc);
6483 extern int write_vtoc (int fd, struct vtoc *vtoc);
6484 # 35 "pkgname.c" 2
6485 
6486 int
6487 main(int argc, char *argv[])
6488 {
6489  (void) setlocale(6, "");
6490 
6491 
6492 
6493 
6494  (void) textdomain(TEXT_DOMAIN);
6495 
6496  while (--argc > 0) {
6497   if (pkgnmchk(argv[argc], (char *)0, 1))
6498    exit(1);
6499  }
6500  return (0);
6501 }
6502