The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/sys/_stdint.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*-
    2  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
    3  *
    4  * Copyright (c) 2011 David E. O'Brien <obrien@FreeBSD.org>
    5  * Copyright (c) 2001 Mike Barcroft <mike@FreeBSD.org>
    6  * All rights reserved.
    7  *
    8  * Redistribution and use in source and binary forms, with or without
    9  * modification, are permitted provided that the following conditions
   10  * are met:
   11  * 1. Redistributions of source code must retain the above copyright
   12  *    notice, this list of conditions and the following disclaimer.
   13  * 2. Redistributions in binary form must reproduce the above copyright
   14  *    notice, this list of conditions and the following disclaimer in the
   15  *    documentation and/or other materials provided with the distribution.
   16  *
   17  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
   18  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   19  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   20  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
   21  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   22  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   23  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   24  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   25  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   26  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   27  * SUCH DAMAGE.
   28  *
   29  * $FreeBSD: releng/12.0/sys/sys/_stdint.h 326256 2017-11-27 15:01:59Z pfg $
   30  */
   31 
   32 #ifndef _SYS__STDINT_H_
   33 #define _SYS__STDINT_H_
   34 
   35 #ifndef _INT8_T_DECLARED
   36 typedef __int8_t                int8_t;
   37 #define _INT8_T_DECLARED
   38 #endif
   39 
   40 #ifndef _INT16_T_DECLARED
   41 typedef __int16_t               int16_t;
   42 #define _INT16_T_DECLARED
   43 #endif
   44 
   45 #ifndef _INT32_T_DECLARED
   46 typedef __int32_t               int32_t;
   47 #define _INT32_T_DECLARED
   48 #endif
   49 
   50 #ifndef _INT64_T_DECLARED
   51 typedef __int64_t               int64_t;
   52 #define _INT64_T_DECLARED
   53 #endif
   54 
   55 #ifndef _UINT8_T_DECLARED
   56 typedef __uint8_t               uint8_t;
   57 #define _UINT8_T_DECLARED
   58 #endif
   59 
   60 #ifndef _UINT16_T_DECLARED
   61 typedef __uint16_t              uint16_t;
   62 #define _UINT16_T_DECLARED
   63 #endif
   64 
   65 #ifndef _UINT32_T_DECLARED
   66 typedef __uint32_t              uint32_t;
   67 #define _UINT32_T_DECLARED
   68 #endif
   69 
   70 #ifndef _UINT64_T_DECLARED
   71 typedef __uint64_t              uint64_t;
   72 #define _UINT64_T_DECLARED
   73 #endif
   74 
   75 #ifndef _INTPTR_T_DECLARED
   76 typedef __intptr_t              intptr_t;
   77 #define _INTPTR_T_DECLARED
   78 #endif
   79 #ifndef _UINTPTR_T_DECLARED
   80 typedef __uintptr_t             uintptr_t;
   81 #define _UINTPTR_T_DECLARED
   82 #endif
   83 #ifndef _INTMAX_T_DECLARED
   84 typedef __intmax_t              intmax_t;
   85 #define _INTMAX_T_DECLARED
   86 #endif
   87 #ifndef _UINTMAX_T_DECLARED
   88 typedef __uintmax_t             uintmax_t;
   89 #define _UINTMAX_T_DECLARED
   90 #endif
   91 
   92 #endif /* !_SYS__STDINT_H_ */

Cache object: c2337726a93296f26739d8b8417bf86c


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.