diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-08-31 16:30:27 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-08-31 16:30:27 +0000 |
commit | bfce746a87e205a682b85e144e056029a8a30d07 (patch) | |
tree | 081313643ad086d15559161dc218d203b62f605d /sysdeps/wordsize-64/inttypes.h | |
parent | ac72fbb190675473855c33d79ccd75b0de68c0d1 (diff) | |
download | glibc-bfce746a87e205a682b85e144e056029a8a30d07.tar glibc-bfce746a87e205a682b85e144e056029a8a30d07.tar.gz glibc-bfce746a87e205a682b85e144e056029a8a30d07.tar.bz2 glibc-bfce746a87e205a682b85e144e056029a8a30d07.zip |
Update.
1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
* db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
* include/stdio.h: Add __vsscanf.
* libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
__USE_ISOC9X.
Remove __vsscanf declaration.
Always declare fgetpos and fsetpos.
* math/math.h: Define isinf as macro.
* math/bits/mathcalls.h: Change to declare __isinf all the time.
Don't declare scalb for ISO C 9x.
* math/tgmath.h: Define fma. Rewrite the underlying macros.
* stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
* sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
sys/ucontext.h.
* sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
macros.
1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
Reported by jreising@frequentis.com [PR libc/767].
1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* io/lockf.c (lockf): Move initilisation of fl.l_whence and
fl.l_start at beginning of function.
Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
Diffstat (limited to 'sysdeps/wordsize-64/inttypes.h')
-rw-r--r-- | sysdeps/wordsize-64/inttypes.h | 117 |
1 files changed, 87 insertions, 30 deletions
diff --git a/sysdeps/wordsize-64/inttypes.h b/sysdeps/wordsize-64/inttypes.h index c76d2c887d..61730bbc00 100644 --- a/sysdeps/wordsize-64/inttypes.h +++ b/sysdeps/wordsize-64/inttypes.h @@ -82,6 +82,22 @@ # define PRIoFAST32 "o" # define PRIoFAST64 "lo" + /* Unsigned integers. */ +# define PRIu8 "u" +# define PRIu16 "u" +# define PRIu32 "u" +# define PRIu64 "lu" + +# define PRIuLEAST8 "u" +# define PRIuLEAST16 "u" +# define PRIuLEAST32 "u" +# define PRIuLEAST64 "lu" + +# define PRIuFAST8 "u" +# define PRIuFAST16 "u" +# define PRIuFAST32 "u" +# define PRIuFAST64 "lu" + /* lowercase hexadecimal notation. */ # define PRIx8 "x" # define PRIx16 "x" @@ -115,54 +131,57 @@ # define PRIXFAST64 "lX" -/* Unsigned integers. */ -# define PRIu8 "u" -# define PRIu16 "u" -# define PRIu32 "u" -# define PRIu64 "lu" - -# define PRIuLEAST8 "u" -# define PRIuLEAST16 "u" -# define PRIuLEAST32 "u" -# define PRIuLEAST64 "lu" - -# define PRIuFAST8 "u" -# define PRIuFAST16 "u" -# define PRIuFAST32 "u" -# define PRIuFAST64 "lu" - - /* Macros for printing `intmax_t' and `uintmax_t'. */ # define PRIdMAX "ld" +# define PRIiMAX "li" # define PRIoMAX "lo" -# define PRIxMAX "lx" # define PRIuMAX "lu" +# define PRIxMAX "lx" +# define PRIXMAX "lX" /* Macros for printing `intptr_t' and `uintptr_t'. */ # define PRIdPTR "ld" +# define PRIiPTR "li" # define PRIoPTR "lo" -# define PRIxPTR "lx" # define PRIuPTR "lu" +# define PRIxPTR "lx" +# define PRIXPTR "lX" /* Macros for printing format specifiers. */ -/* Decimal notation. */ +/* Signed decimal notation. */ # define SCNd8 "hhd" # define SCNd16 "hd" # define SCNd32 "d" # define SCNd64 "ld" +# define SCNdLEAST8 "hhd" +# define SCNdLEAST16 "hd" +# define SCNdLEAST32 "d" +# define SCNdLEAST64 "ld" + +# define SCNdFAST8 "hhd" +# define SCNdFAST16 "ld" +# define SCNdFAST32 "ld" +# define SCNdFAST64 "ld" + +/* Signed decimal notation. */ # define SCNi8 "hhi" # define SCNi16 "hi" # define SCNi32 "i" # define SCNi64 "li" -# define SCNu8 "hhu" -# define SCNu16 "hu" -# define SCNu32 "u" -# define SCNu64 "lu" +# define SCNiLEAST8 "hhi" +# define SCNiLEAST16 "hi" +# define SCNiLEAST32 "i" +# define SCNiLEAST64 "li" + +# define SCNiFAST8 "hhi" +# define SCNiFAST16 "li" +# define SCNiFAST32 "li" +# define SCNiFAST64 "li" /* Octal notation. */ # define SCNo8 "hho" @@ -170,23 +189,61 @@ # define SCNo32 "o" # define SCNo64 "lo" +# define SCNoLEAST8 "hho" +# define SCNoLEAST16 "ho" +# define SCNoLEAST32 "o" +# define SCNoLEAST64 "lo" + +# define SCNoFAST8 "hho" +# define SCNoFAST16 "lo" +# define SCNoFAST32 "lo" +# define SCNoFAST64 "lo" + +/* Unsigned decimal notation. */ +# define SCNu8 "hhu" +# define SCNu16 "hu" +# define SCNu32 "u" +# define SCNu64 "lu" + +# define SCNuLEAST8 "hhu" +# define SCNuLEAST16 "hu" +# define SCNuLEAST32 "u" +# define SCNuLEAST64 "lu" + +# define SCNuFAST8 "hhu" +# define SCNuFAST16 "lu" +# define SCNuFAST32 "lu" +# define SCNuFAST64 "lu" + /* Hexadecimal notation. */ # define SCNx8 "hhx" # define SCNx16 "hx" # define SCNx32 "x" # define SCNx64 "lx" +# define SCNxLEAST8 "hhx" +# define SCNxLEAST16 "hx" +# define SCNxLEAST32 "x" +# define SCNxLEAST64 "lx" + +# define SCNxFAST8 "hhx" +# define SCNxFAST16 "lx" +# define SCNxFAST32 "lx" +# define SCNxFAST64 "lx" + -/* Macros for scaning `intfast_t' and `uintfast_t'. */ -# define SCNdFAST "ld" -# define SCNiFAST "li" -# define SCNoFAST "lo" -# define SCNxFAST "lx" +/* Macros for scanning `intmax_t' and `uintmax_t'. */ +# define SCNdMAX "ld" +# define SCNiMAX "li" +# define SCNoMAX "lo" +# define SCNuMAX "lu" +# define SCNxMAX "lx" -/* Macros for scaning `intptr_t' and `uintptr_t'. */ +/* Macros for scanning `intptr_t' and `uintptr_t'. */ # define SCNdPTR "ld" # define SCNiPTR "li" # define SCNoPTR "lo" +# define SCNuPTR "lu" # define SCNxPTR "lx" #endif /* C++ && format macros */ |