Annotation of Gnu-Mach/include/stdint.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (C) 2016 Free Software Foundation, Inc.
        !             3:  *
        !             4:  * This file is part of GNU Mach.
        !             5:  *
        !             6:  * GNU Mach is free software; you can redistribute it and/or modify it
        !             7:  * under the terms of the GNU General Public License as published by the
        !             8:  * Free Software Foundation; either version 2, or (at your option) any later
        !             9:  * version.
        !            10:  * 
        !            11:  * This program is distributed in the hope that it will be useful, but
        !            12:  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
        !            13:  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
        !            14:  * for more details.
        !            15:  * 
        !            16:  * You should have received a copy of the GNU General Public License along
        !            17:  * with this program; if not, write to the Free Software Foundation, Inc.,
        !            18:  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
        !            19:  */
        !            20: 
        !            21: #ifndef _STDINT_H_
        !            22: #define _STDINT_H_
        !            23: 
        !            24: /*
        !            25:  * These types are _exactly_ as wide as indicated in their names.
        !            26:  */
        !            27: 
        !            28: typedef char           int8_t;
        !            29: typedef short          int16_t;
        !            30: typedef int            int32_t;
        !            31: #if __x86_64__
        !            32: typedef long int       int64_t;
        !            33: #else
        !            34: typedef long long int  int64_t;
        !            35: #endif /* __x86_64__ */
        !            36: 
        !            37: typedef unsigned char          uint8_t;
        !            38: typedef unsigned short         uint16_t;
        !            39: typedef unsigned int           uint32_t;
        !            40: #if __x86_64__
        !            41: typedef unsigned long int      uint64_t;
        !            42: #else
        !            43: typedef unsigned long long int uint64_t;
        !            44: #endif /* __x86_64__ */
        !            45: 
        !            46: /* Types for `void *' pointers.  */
        !            47: #if __x86_64__
        !            48: typedef long int               intptr_t;
        !            49: typedef unsigned long int      uintptr_t;
        !            50: #else
        !            51: typedef int                    intptr_t;
        !            52: typedef unsigned int           uintptr_t;
        !            53: #endif /* __x86_64__ */
        !            54: 
        !            55: #endif /* _STDINT_H_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.