setjmp.h is a header defined in the C standard library to provide "non-local jumps": control flow that deviates from the usual subroutine call and return...
15 KB (1,609 words) - 18:30, 13 August 2024
C standard library (redirect from Stdlib.h)
ratified in 1995. Six more header files (complex.h, fenv.h, inttypes.h, stdbool.h, stdint.h, and tgmath.h) were added with C99, a revision to the C Standard...
29 KB (2,875 words) - 23:17, 26 March 2024
errno.h is a header file in the standard library of the C programming language. It defines macros for reporting and retrieving error conditions using...
11 KB (1,399 words) - 14:14, 21 October 2023
In the C and C++ programming languages, unistd.h is the name of the header file that provides access to the POSIX operating system API. It is defined...
13 KB (302 words) - 13:12, 9 February 2024
stdarg.h is a header in the C standard library of the C programming language that allows functions to accept an indefinite number of arguments. It provides...
11 KB (1,307 words) - 14:42, 24 January 2024
assert.h is a header file in the C standard library. It defines the C preprocessor macro assert and implements runtime assertion in C. assert.h is defined...
7 KB (779 words) - 21:51, 9 June 2023
<pthread.h> <setjmp.h> <signal.h> <stdarg.h> <stdbool.h> <stddef.h> <stdint.h> <stdio.h> <stdlib.h> <string.h> <sys/stat.h> <tgmath.h> <time.h> <unistd.h> <utime...
10 KB (135 words) - 13:36, 1 August 2024
C data types (redirect from Inttypes.h)
includes new real floating-point types float_t and double_t, defined in <math.h>. They correspond to the types used for the intermediate results of floating-point...
33 KB (3,252 words) - 15:10, 11 August 2024
C++ Standard Library (redirect from Stdexcept.h)
also incorporates most headers of the ISO C standard library ending with ".h", but their use was deprecated (reverted the deprecation since C++23). C++23...
23 KB (2,404 words) - 01:49, 9 September 2024
C signal handling (redirect from Signal.h)
keyboard). The C standard defines only 6 signals. They are all defined in signal.h header (csignal header in C++): SIGABRT – "abort", abnormal termination. SIGFPE...
4 KB (440 words) - 12:32, 23 May 2024
Date/time Localization Memory allocation Process control Signals Alternative tokens Miscellaneous headers: <assert.h> <errno.h> <setjmp.h> <stdarg.h> v t e...
14 KB (1,597 words) - 10:23, 28 April 2024
C date and time functions (redirect from Tiem.h)
current time to the standard output stream. #include <time.h> #include <stdlib.h> #include <stdio.h> int main(void) { time_t current_time; char* c_time_string;...
6 KB (349 words) - 15:50, 11 April 2024
C dynamic memory allocation (redirect from Alloc.h)
function ends. The C dynamic memory allocation functions are defined in stdlib.h header (cstdlib header in C++). malloc() takes a single argument (the amount...
35 KB (4,126 words) - 13:51, 7 April 2024
Date/time Localization Memory allocation Process control Signals Alternative tokens Miscellaneous headers: <assert.h> <errno.h> <setjmp.h> <stdarg.h> v t e...
24 KB (2,136 words) - 01:31, 6 April 2024
Input/output (C++) (redirect from Iostream.h)
moved into the std namespace, and the main header changed from <iostream.h> to <iostream>. It is this standardized version that is covered in the rest...
20 KB (1,342 words) - 13:07, 13 October 2023
Date/time Localization Memory allocation Process control Signals Alternative tokens Miscellaneous headers: <assert.h> <errno.h> <setjmp.h> <stdarg.h> v t e...
7 KB (708 words) - 17:47, 25 August 2024
C alternative tokens (redirect from Iso646.h)
implemented as a group of macro constants in the C standard library in the iso646.h header. The tokens were created by Bjarne Stroustrup for the pre-standard...
5 KB (444 words) - 14:53, 8 April 2024
Date/time Localization Memory allocation Process control Signals Alternative tokens Miscellaneous headers: <assert.h> <errno.h> <setjmp.h> <stdarg.h> v t e...
7 KB (843 words) - 23:29, 10 June 2022
C localization functions (redirect from Locale.h)
value) to work around these problems. #include <stdio.h> #include <stdlib.h> #include <locale.h> int main(void) { /* Locale is set to "C" before this...
4 KB (364 words) - 08:28, 7 November 2023
C string handling (redirect from String.h)
declared in the string.h header (cstring in C++), while functions that operate on C wide strings are declared in the wchar.h header (cwchar in C++)....
48 KB (3,565 words) - 21:08, 5 September 2024
Date/time Localization Memory allocation Process control Signals Alternative tokens Miscellaneous headers: <assert.h> <errno.h> <setjmp.h> <stdarg.h> v t e...
31 KB (2,239 words) - 08:40, 25 July 2023
C file input/output (redirect from Stdio.h)
These functions make up the bulk of the C standard library header <stdio.h>. The functionality descends from a "portable I/O package" written by Mike...
19 KB (886 words) - 21:34, 28 February 2024
environment operations. The process control functions are defined in the stdlib.h header (cstdlib header in C++). Crawford, Tony; Peter Prinz (December 2005)...
3 KB (127 words) - 17:42, 11 December 2022
C mathematical functions (redirect from Complex.h)
<math.h> (<cmath> header in C++). The functions that operate on integers, such as abs, labs, div, and ldiv, are instead defined in the <stdlib.h> header...
26 KB (1,101 words) - 20:13, 28 June 2024
C character classification (redirect from Wctype.h)
forms of such tests that were placed in the system-wide header file ctype.h. Unlike the above example, the character classification routines are not written...
7 KB (374 words) - 02:04, 10 October 2022
Date/time Localization Memory allocation Process control Signals Alternative tokens Miscellaneous headers: <assert.h> <errno.h> <setjmp.h> <stdarg.h> v t e...
7 KB (925 words) - 02:21, 26 February 2021
Date/time Localization Memory allocation Process control Signals Alternative tokens Miscellaneous headers: <assert.h> <errno.h> <setjmp.h> <stdarg.h> v t e...
14 KB (590 words) - 18:49, 13 December 2023
handling in standard C is to use setjmp/longjmp functions: #include <setjmp.h> #include <stdio.h> #include <stdlib.h> enum { SOME_EXCEPTION = 1 } exception;...
43 KB (4,791 words) - 02:08, 2 September 2024
Date/time Localization Memory allocation Process control Signals Alternative tokens Miscellaneous headers: <assert.h> <errno.h> <setjmp.h> <stdarg.h> v t e...
20 KB (1,363 words) - 01:36, 4 July 2024
different scopes are disallowed Pointer-returning functions must execute return setjmp and longjmp are not supported To maintain the tool set that C programmers...
12 KB (1,208 words) - 03:51, 9 August 2024