|
Gamp v0.0.7-36-g24b1eb6
Gamp: Graphics, Audio, Multimedia and Processing
|
#include <sys/param.h>#include <unistd.h>#include <climits>#include <jau/test/catch2_ext.hpp>#include <jau/basic_types.hpp>#include <cstring>Go to the source code of this file.
Macros | |
| #define | COND_CODE(macro, code) |
| #define | MACRO_STRINGIFY(item) |
| #define | PRINT_COND(macro) |
Functions | |
| int | my_strcmp (const char *, const char *) |
| void | print_libc () |
| void | print_unix_std () |
| int | printf (const char *format,...) |
| Operating Systems predefined macros. | |
| static int | sizeof_time_t () |
| Resembling the GNU/Linux bits/types.h, documenting whether time_t is 32-bit (arm-32) or 64-bit (arm-64, x86_64, ..). | |
| static int | sizeof_tv_nsec () |
| Resembling the GNU/Linux bits/types.h, documenting whether tv_nsec of struct timespec is 32-bit (arm-32) or 64-bit (arm-64, x86_64, ..). | |
| TEST_CASE ("Standard C Library 01.01", "[libc]") | |
| TEST_CASE ("Unix StandardsTest 01.00", "[unix][posix]") | |
| #define MACRO_STRINGIFY | ( | item | ) |
Definition at line 68 of file test_os_posix_libc_macros.cpp.
| #define COND_CODE | ( | macro, | |
| code ) |
Definition at line 69 of file test_os_posix_libc_macros.cpp.
| #define PRINT_COND | ( | macro | ) |
Definition at line 76 of file test_os_posix_libc_macros.cpp.
|
extern |
Operating Systems predefined macros.
GLIBC macros have to be included from the <features.h> header file. Include <limits.h> header file instead, which included <features.h> on GLIBC (see e.g. paragraph 4/6 in ISO/IEC 9899:1999). glibc 1.3.4 Feature Test Macros _FILE_OFFSET_BITS
_TIME_BITS
glibc D.2.1 64-bit time symbol handling in the GNU C Library __TIMESIZE == 64 uses 64-bit time_t version
| int my_strcmp | ( | const char * | s1, |
| const char * | s2 ) |
Definition at line 167 of file test_os_posix_libc_macros.cpp.
| void print_unix_std | ( | ) |
Definition at line 85 of file test_os_posix_libc_macros.cpp.
| void print_libc | ( | ) |
Definition at line 131 of file test_os_posix_libc_macros.cpp.
|
static |
Resembling the GNU/Linux bits/types.h, documenting whether time_t is 32-bit (arm-32) or 64-bit (arm-64, x86_64, ..).
Definition at line 175 of file test_os_posix_libc_macros.cpp.
|
static |
Resembling the GNU/Linux bits/types.h, documenting whether tv_nsec of struct timespec is 32-bit (arm-32) or 64-bit (arm-64, x86_64, ..).
Definition at line 194 of file test_os_posix_libc_macros.cpp.
| TEST_CASE | ( | "Unix StandardsTest 01.00" | , |
| "" | [unix][posix] ) |
Definition at line 206 of file test_os_posix_libc_macros.cpp.
| TEST_CASE | ( | "Standard C Library 01.01" | , |
| "" | [libc] ) |
Definition at line 226 of file test_os_posix_libc_macros.cpp.