ILE C/C++ Run-Time Library Functions
The ILE C/C++ run-time library provides functions that
can be used when programming ILE C and C++ application programs.
The ILE C/C++ run-time library functions are:
- Access function arguments (va_arg()) accesses the arguments to a function when it takes a fixed number of required arguments and a variable number of optional arguments.
- Access function arguments (va_end()) accesses the arguments to a function when it takes a fixed number of required arguments and a variable number of optional arguments.
- Access function arguments (va_start()) accesses the arguments to a function when it takes a fixed number of required arguments and a variable number of optional arguments.
- Acquire a program device (_Racquire()) acquires the program device specified by the dev parameter and associates it with the file specified by fp.
- Adjust current file position (rewind()) repositions the file pointer associated with stream to the beginning of the file.
- Associates stream with file descriptor (fdopen()) associates an input or output stream with the file that is identified by handle.
- Calculate absolute value of long and long long integer (labs()) produces the absolute value of its long integer argument n.
- Calculate absolute value of long and long long integer (llabs()) returns the absolute value of its long long integer operand.
- Calculate arccosine (acos()) calculates the arccosine of x, expressed in radians, in the range 0 to pi.
- Calculate arcsine (asin()) calculates the arcsine of x, in the range -/2 to p /2 radians.
- Calculate arctangent (atan()) calculates the arctangent of x.
- Calculate Arctangent (atan2()) calculate the arctangent of y/x.
- Calculate base 10 logarithm (log10()) calculates the base 10 logarithm of x.
- Calculate cosine (cos()) calculates the cosine of x.
- Calculate error functions (erf()) calculates an error function.
- Calculate error functions (erfc()) computes the value of 1.0 - erf(x).
- Calculate exponential function (exp()) calculates the exponential value of a floating-point argument x ( e^x , where e equals 2.17128128...).
- Calculate floating-point absolute value (fabs()) calculates the absolute value of the floating-point argument x.
- Calculate floating-point remainder (fmod()) calculates the floating-point remainder of x/y.
- Calculate hyperbolic cosine (cosh()) calculates the hyperbolic cosine of x.
- Calculate hyperbolic sine (sinh()) calculates the hyperbolic sine of x, with x expressed in radians.
- Calculate hyperbolic tangent (tanh()) calculates the hyperbolic tangent of x, where x is expressed in radians.
- Calculate hypotenuse (hypot) calculates the length of the hypotenuse of a right-angled triangle based on the lengths of two sides side1 and side2.
- Calculate integer absolute value (abs()) returns the absolute value of an integer argument n.
- Calculate length of wide-character string (wcslen()) computes the number of wide characters in the string pointed to by string.
- Calculate natural logarithm (log()) calculates the natural logarithm (base e) of x.
- Calculate quotient and remainder (div()) calculates the quotient and remainder of the division of numerator by denominator.
- Calculate sine (sin()) calculates the sine of x, with x expressed in radians.
- Calculate square root (sqrt()) calculates the nonnegative value of the square root of x.
- Calculate Tangent (tan()) calculates the tangent of x, where x is expressed in radians.
- Change data area (QXXCHGDA()) allows you to change the data area specified by dtaname, starting at position offset, with the data in the user buffer pointed to by dtaptr of length len.
- Change reserved storage block size (realloc()) changes the size of a previously reserved storage block.
- Change/Add environment variables (putenv()) sets the value of an environment variables by altering an existing variable or creating a new one.
- Close a file (_Rclose()) closes the file specified by fp.
- Close message catalog (catclose()) closes the previously opened message catalog that is identified by catd.
- Close stream (fclose()) closes a stream pointed to by stream.
- Commit current record (_Rcommit()) completes the current transaction for the job that calls it and establishes a new commitment boundary.
- Compare buffers (memcmp()) compares the first count bytes of buf1 and buf2.
- Compare bytes (memicmp()) compares the first cnt bytes of buf1 and buf2 without regard to the case of letters in the two buffers.
- Compare strings (strcmp()) compares string1 and string2.
- Compare strings (strcoll()) compares two strings using the collating sequence that is specified by the program's locale.
- Compare strings (strncmp()) compares string1 and string2 to the maximum of count.
- Compare strings without case sensitivity (strcasecmp()) compares string1 and string2 without sensitivity to case.
- Compare strings without case sensitivity (strcmpi()) compares string1 and string2 without sensitivity to case.
- Compare strings without case sensitivity (stricmp()) compares string1 and string2 without sensitivity to case.
- Compare strings without case sensitivity (strncasecmp()) compares up to count characters of string1 and string2 without sensitivity to case.
- Compare substrings without case sensitivity (strnicmp()) compares, at most, the first n characters of string1 and string2 without sensitivity to case.
- Compare wide character strings without case sensitivity (_wcsicmp()) compares string1 and string2 without sensitivity to case.
- Compare wide character strings without case sensitivity (_wcsnicmp()) compares up to count characters of string1 and string2 without sensitivity to case.
- Compare wide-character buffers (wmemcmp()) compares the first n wide characters of the object pointed to by s1 to the first n wide characters of the object pointed to by s2.
- Compare wide-character strings (wcscmp()) compares two wide-character strings.
- Compare wide-character strings (wcsncmp()) compares up to count wide characters in string1 to string2.
- Compile regular expression (regcomp()) compiles the source regular expression pointed to by pattern into an executable version and stores it in the location pointed to by preg.
- Compute power (pow()) calculates the value of x to the power of y.
- Compute time difference (difftime()) computes the difference in seconds between time2 and time1.
- Concatenate strings (strcat()) concatenates string2 to string1 and ends the resulting string with the null character.
- Concatenate strings (strncat()) appends the first count characters of string2 to string1 and ends the resulting string with a null character.
- Concatenate wide-character strings (wcscat()) appends a copy of the string pointed to by string2 to the end of the string pointed to by string1.
- Concatenate wide-character strings (wcsncat()) appends up to count wide characters from string2 to the end of string1, and appends a wchar_t null character to the result.
- Control buffering (setbuf()) controls buffering for the specified stream, if the operating system supports user-defined buffers.
- Control buffering (setvbuf()) allows control over the buffering strategy and buffer size for a specified stream.
- Convert a multibyte character to a wide character (restartable) (mbrtowc()) is the restartable version of the mbtowc() function.
- Convert a multibyte character to a wide character (restartable) (mbsrtowcs()) converts a sequence of multibyte characters that begins in the conversion state described by ps from the array indirectly pointed to by src into a sequence of corresponding wide characters.
- Convert a multibyte string to a wide character string (restartable) (mbstowcs()) determines the length of the sequence of the multibyte characters pointed to by string.
- Convert a wide character to a multibyte character (restartable) (wcrtomb()) converts a wide character to a multibyte character.
- Convert character (toascii()) determines to what character c would be mapped to in a 7-bit US-ASCII locale and returns the corresponding EBCDIC encoding in the current locale.
- Convert character case (tolower()) converts the uppercase letter C to the corresponding lowercase letter.
- Convert character case (toupper()) converts the lowercase letter c to the corresponding uppercase letter.
- Convert character string to double (strtod()) converts a character string to a double-precision value.
- Convert character string to float (atof()) converts a character string to a double-precision floating-point value.
- Convert character string to integer (atoi()) converts a character string to an integer value.
- Convert character string to long and long long integer (strtol()) converts a character string to a long integer value.
- Convert character string to long and long long integer (strtoll()) converts a character string to a long long integer value.
- Convert character string to long or long long integer (atol()) converts a character string to a long value.
- Convert character string to long or long long integer (atoll()) converts a character string to a long long value.
- Convert character string to unsigned long and unsigned long long integer (strtoul()) converts a character string to an unsigned long integer value.
- Convert character string to unsigned long and unsigned long long integer (strtoull()) converts a character string to an unsigned long long integer value.
- Convert date/time to string (strftime()) places bytes into the array pointed to by s as controlled by the string pointed to by format.
- Convert double to packed decimal (QXXDTOP()) converts the double value specified in value to a packed decimal number with digits total digits, and fraction fractional digits.
- Convert double to zoned decimal (QXXDTOZ()) converts the double value specified in value to a zoned decimal number with digits total digits, and fraction fractional digits.
- Convert floating-point to string (_gcvt()) converts a floating-point value to a character string pointed to by buffer.
- Convert integer to packed decimal (QXXITOP()) converts the integer specified in value to a packed decimal number with digits total digits, and fraction fractional digits.
- Convert integer to string (_itoa()) converts the digits of the given value to a character string that ends with a null character and stores the result in string.
- Convert integer to zoned decimal (QXXITOZ()) converts the integer specified in value to a zoned decimal number with digits total digits, and fraction fractional digits.
- Convert local time (mktime()) converts local time, stored as a tm structure pointed to by time, into a time_t structure suitable for use with other time functions.
- Convert long integer to string (_ltoa()) converts the digits of the given long integer value to a character string that ends with a null character and stores the result in string.
- Convert monetary value to string (strfmon()) places characters into the array pointed to by s as controlled by the string pointed to by format.
- Convert multibyte character to a wide character (mbtowc()) determines the length of the multibyte character pointed to by string.
- Convert packed decimal to double (QXXPTOD()) converts a packed decimal number to a double.
- Convert packed decimal to integer (QXXPTOI()) converts a packed decimal number to an integer.
- Convert single byte to wide character (btowc()) converts the single byte value c to the wide-character representation of c.
- Convert string to date/time (strptime()) converts the character string pointed to by buf to values that are stored in the tm structure pointed to by tm, using the format specified by format.
- Convert time (gmtime()) breaks down the time value, in seconds, and stores it in a tm structure, defined in <time.h>.
- Convert time (localtime()) converts a time value, in seconds, to a structure of type tm.
- Convert time (restartable) (gmtime_r()) breaks down the time value, in seconds, and stores it in a tm structure, defined in <time.h>.
- Convert time (restartable) (localtime_r()) converts a time value, in seconds, to a structure of type tm.
- Convert time to a character string (restartable) (asctime_r()) converts time, stored as a structure pointed to by tm, to a character string.
- Convert time to a character string (restartable) (ctime_r()) is the restartable version of the ctime() function.
- Convert time to character string (asctime()) converts time, stored as a structure pointed to by time, to a character string.
- Convert time to character string (ctime()) converts the time value pointed to by time to local time in the form of a character string.
- Convert to formatted date and time (wcsftime()) converts the time and date specification in the timeptr structure into a wide-character string.
- Convert unsigned long integer to string (_Ultoa()) converts the digits of the given unsigned long value to a character string that ends with a null character and stores the result in string.
- Convert wide character case (towlower()) converts the lowercase character wc to the corresponding uppercase letter.
- Convert wide character case (towupper()) converts the uppercase character wc to the corresponding lowercase letter.
- Convert wide character string to date/time (wcsptime()) converts the wide character string pointed to by buf to values that are stored in the tm structure pointed to by tm, using the format specified by format.
- Convert wide character string to long and long long integer (wcstol()) converts the initial portion of the wide-character string pointed to by nptr to a long integer value.
- Convert wide character string to long and long long integer (wcstoll()) converts a wide-character string to a long long integer.
- Convert wide character string to multibyte string (restartable) (wcsrtombs()) converts a sequence of wide characters from the array indirectly pointed to by src into a sequence of corresponding multibyte characters that begins in the shift state described by ps.
- Convert wide character string to unsigned long and unsigned long long integer (wcstoul()) converts the initial portion of the wide-character string pointed to by nptr to an unsigned long integer value.
- Convert wide character string to unsigned long and unsigned long long integer (wcstoull()) converts a wide-character string to an unsigned long long integer.
- Convert wide character to byte (wctob()) determines whether wc corresponds to a member of the extended character set, whose multibyte character has a length of 1 byte when in the initial shift state.
- Convert wide character to multibyte character (wctomb()) converts the wchar_t value of character into a multibyte array pointed to by string.
- Convert wide-character string to double (wcstod()) converts the initial portion of the wide-character string pointed to by nptr to a double value.
- Convert wide-character string to multibyte string (wcstombs()) converts the wide-character string pointed to by string into the multibyte array pointed to by dest.
- Convert zoned decimal to double (QXXZTOD()) converts to a double, the zoned decimal number (with digits total digits, and fraction fractional digits) pointed to by zptr.
- Convert zoned decimal to integer (QXXZTOI()) converts to an integer, the zoned decimal number (with digits total digits, and fraction fractional digits) pointed to by zptr.
- Copy bytes (memcpy()) copies count bytes of src to dest.
- Copy bytes (memmove()) copies count bytes of src to dest.
- Copy strings (strcpy()) copies string2, including the ending null character, to the location that is specified by string1.
- Copy strings (strncpy()) copies count characters of string2 to string1.
- Copy wide-character buffer (wmemcpy()) copies n wide characters from the object pointed to by s2 to the object pointed to by s1.
- Copy wide-character buffer (wmemmove()) copies n wide characters from the object pointed to by s2 to the object pointed to by s1.
- Copy wide-character strings (wcscpy()) copies the contents of string2 (including the ending wchar_t null character) into string1.
- Copy wide-character strings (wcsncpy()) copies up to count wide characters from string2 to string1.
- Create temporary file (tmpfile()) creates a temporary binary file.
- Delete a record (_Rdelete()) deletes the record that is currently locked for update in the file specified by fp.
- Delete file (remove()) deletes the file specified by filename.
- Determine amount of teraspace memory used (_C_TS_malloc_info()) determines the amount of teraspace memory used and returns the informatoin within the given output_record structure.
- Determine amount of teraspace memory used (with optional dumps and verification) (_C_TS_malloc_debug()) determines the amount of teraspace memory used and returns the information within the given output_record structure.
- Determine current time (time()) determines the current calendar time, in seconds.
- Determine file handle (fileno()) determines the file handle that is currently associated with stream.
- Determine length of a multibyte character (mblen()) determines the length in bytes of the multibyte character pointed to by string.
- Determine length of a multibyte character (restartable) (mbrlen()) determines the length of a multibyte character.
- Determine processor time (clock()) returns an approximation of the processor time used by the program since the beginning of an implementation-defined time-period that is related to the process invocation.
- Determine stream orientation (fwide()) determines the orientation of the stream pointed to by stream.
- Determine string length (strlen()) determines the length of string excluding the ending null character.
- Determine the display width of a wide character (wcwidth()) determines the number of printing positions that a graphic representation of wc occupies on a display device.
- Determine the display width of a wide character string (wcswidth()) determines the number of printing positions that a graphic representation of n wide characters in the wide string pointed to by wcs occupies on a display device.
- Duplicate string (strdup()) reserves storage space for a copy of string by calling malloc.
- End program (exit()) returns control to the host environment from the program.
- Execute a command (system()) passes the given string to the CL command processor for processing.
- Execute compiled regular expression (regexec()) compares the null-ended string against the compiled regular expression preg to find a match between the two.
- Find characters in string (strpbrk()) locates the first occurrence in the string pointed to by string1 of any character from the string pointed to by string2.
- Find integer <= argument (floor()) calculates the largest integer that is less than or equal to x.
- Find integer >= argument (ceil()) computes the smallest integer that is greater than or equal to x.
- Find offset of first character match (strcspn()) finds the first occurrence of a character in string1 that belongs to the set of characters that is specified by string2.
- Find offset of first non-matching character (strspn()) finds the first occurrence of a character in string1 that is not contained in the set of characters that is specified by string2.
- Find offset of first non-matching wide character (wcsspn()) computes the number of wide characters in the initial segment of the string pointed to by string1, which consists entirely of wide characters from the string pointed to by string2.
- Find offset of first wide-character match (wcscspn()) determines the number of wchar_t characters in the initial segment of the string pointed to by string1 that do not appear in the string pointed to by string2.
- Force the end-of-data (_Rfeod()) forces an end-of-data condition for a device or member associated with the file specified by fp.
- Force the end-of-file (_Rfeov()) forces an end-of-volume condition for a tape file that is associated with the file that is specified by fp.
- Format and write wide characters to buffer (swprintf()) formats and stores a series of wide characters and values into the wide-character buffer wcsbuffer.
- Format and write wide characters to buffer (vswprintf()) formats and stores a series of wide characters and values in the buffer wcsbuffer.
- Format argument data as wide characters and print (vwprintf()) is equivalent to the wprintf() function, except that the variable argument list is replaced by arg, which the va_start macro (and possibly subsequent va_arg calls) will have initialized.
- Format argument data as wide characters and write to a stream (vfwprintf()) is equivalent to the fwprintf() function, except that the variable argument list is replaced by arg, which the va_start macro (and possibly subsequent va_arg calls) will have initialized.
- Format data as wide characters and print (wprintf()) is equivalent to fwprintf(stdout,format,...).
- Format data as wide characters and write to a stream (fwprintf()) writes output to the stream pointed to by stream, under control of the wide string pointed to by format.
- Free memory for regular expression (regfree()) frees any memory that was allocated by the regcomp() function to implement the regular expression preg.
- Gamma function (gamma()) computes the natural logarithm of the absolute value of G(x) (ln(
- Get current position (ftell()) finds the current position of the file associated with stream.
- Get current position (ftello()) finds the current position of the file associated with stream.
- Get device attributes (_Rdevatr()) returns a pointer to a copy of the device attributes feedback area for the file pointed to by fp, and the device specified by dev.
- Get exception data (_GetExcData()) returns information about the current exception from within a C signal handler.
- Get file position (fgetpos()) stores the current position of the file pointer that is associated with stream into the object pointed to by pos.
- Get handle for character mapping (wctrans()) constructs a value with type wctrans_t.
- Get handle for character property classification (wctype()) determines values of wctype_t according to rules of the coded character set that are defined by character type information in the program's locale (category LC_CTYPE).
- Get wide character from stdin (getwchar()) reads the next multibyte character from stdin, converts it to a wide character, and advances the associated file position indicator for stdin.
- Handle interrupt signals (signal()) allows a program to choose one of several ways to handle an interrupt signal from the operating system or from the raise() function.
- Handle to a C session (_C_Get_Ssn_Handle()) Returns a handle to the C session for use with Dynamic Screen Manager (DSM) APIs.
- Language collation string comparison (wcscoll()) compares the wide-character strings pointed to by wcs1 and wcs2, both interpreted as appropriate to the LC_COLLATE category of the current locale.
- Locate last occurrence of character in string (strrchr()) finds the last occurrence of c (converted to a character) in string.
- Locate last occurrence of wide character in string (wcsrchr()) locates the last occurrence of character in the string pointed to by string.
- Locate substring (strstr()) finds the first occurrence of string2 in string1.
- Locate wide character in wide-character buffer (wmemchr()) locates the first occurrence of c in the initial n wide characters of the object pointed to by s.
- Locate wide characters in string (wcspbrk()) locates the first occurrence in the string pointed to by string1 of any wide character from the string pointed to by string2.
- Locate wide-character substring (wcsstr()) locates the first occurrence of wcs2 in wcs1.
- Locate wide-character substring (wcswcs()) locates the first occurrence of string2 in the wide-character string pointed to by string1.
- Multiply by a power of two (ldexp()) calculates the value of x *(2^exp).
- Obtain I/O feedback information (_Riofbk()) returns a pointer to a copy of the I/O feedback area for the file that is specified by fp.
- Obtain open feedback information (_Ropnfbk()) returns a pointer to a copy of the open feedback area for the file that is specified by fp.
- Open a record file for I/O operations (_Ropen()) opens the record file specified by filename according to the mode parameter, which may be followed by optional parameters, if the varparm keyword parameter is specified in the mode parameter.
- Open files (fopen()) opens the file that is specified by filename.
- Open files (wfopen()) accepts file name and mode as wide characters and assumes CCSID 13488 if neither CCSID nor codepage keyword is specified.
- Open message catalog (catopen()) opens a message catalog, which must be done before a message can be retrieved.
- Perform long and long long division (ldiv()) calculates the quotient and remainder of the division of numerator by denominator.
- Perform long and long long division (lldiv()) computes the quotient and remainder of the numerator parameter by the denominator parameter.
- Position a record (_Rlocate()) positions to the record in the file associated with fp and specified by the key, klen_rrn and opts parameters.
- Preserve environment (setjmp()) saves a stack environment that can subsequently be restored by the longjmp() function.
- Print argument data (vprintf()) formats and prints a series of characters and values to stdout.
- Print argument data to buffer (vsnprintf()) formats and stores a series of characters and values in the buffer target-string.
- Print argument data to stream (vfprintf()) formats and writes a series of characters and values to the output stream.
- Print error message (perror()) prints an error message to stderr.
- Print formatted characters (printf()) formats and prints a series of characters and values to the standard output stream stdout.
- Print formatted data to buffer (snprintf()) formats and stores a series of characters and values in the array buffer.
- Print formatted data to buffer (sprintf()) formats and stores a series of characters and values in the array buffer.
- Produce temporary file name (tmpnam()) produces a valid file name that is not the same as the name of any existing file.
- Provide information on last I/O operation (_Rupfb()) updates the feedback structure associated with the file specified by fp with information about the last I/O operation.
- Push character onto input stream (ungetc()) pushes the unsigned character c back onto the given input stream.
- Push wide character onto input stream (ungetwc()) pushes the wide character wc back onto the input stream.
- Read a character (fgetc()) reads a single unsigned character from the input stream at the current position and increases the associated file pointer, if any, so that it points to the next character.
- Read a character (getc()) reads a single character from the current stream position and advances the stream position to the next character.
- Read a character (getchar()) reads a single character from the current stream position and advances the stream position to the next character.
- Read a line (gets()) reads a line from the standard input stream stdin and stores it in buffer.
- Read a record by key (_Rreadk()) reads the record in the keyed access path that is currently being used for the file that is associated with fp.
- Read a record by relative record number (_Rreadd()) reads the record that is specified by rrn in the arrival sequence access path for the file that is associated with fp.
- Read a string (fgets()) reads characters from the current stream position up to and including the first new-line character (), up to the end of the stream, or until the number of characters read is equal to n-1, whichever comes first.
- Read data (scanf()) reads data from the standard input stream stdin into the locations that is given by each entry in argument-list.
- Read data (sscanf()) reads data from buffer into the locations that are given by argument-list.
- Read data from stream using wide character (fwscanf()) reads input from the stream pointed to by stream, under control of the wide string pointed to by format.
- Read data using wide-character format string (wscanf()) is equivalent to the fwscanf() function with the argument stdin interposed before the arguments of the wscanf() function.
- Read formatted data (fscanf()) reads data from the current position of the specified stream into the locations that are given by the entries in argument-list, if any.
- Read formatted data (vfscanf()) reads data from a stream into locations specified by a variable number of arguments.
- Read formatted data (vscanf()) reads data from stdin into locations specified by a variable number of arguments.
- Read formatted data (vsscanf()) reads data from a buffer into locations specified by a variable number of arguments.
- Read formatted wide character data (vfwscanf()) reads wide data from a stream into locations specified by a variable number of arguments.
- Read formatted wide character data (vswscanf()) reads wide data from a buffer into locations specified by a variable number of arguments.
- Read formatted wide character data (vwscanf()) reads wide data from stdin into locations specified by a variable number of arguments.
- Read from an invited device (_Rreadindv()) reads data from an invited device.
- Read items (fread()) reads up to count items of size length from the input stream and stores them in the given buffer.
- Read the first record (_Rreadf()) reads the first record in the access path that is currently being used for the file specified by fp.
- Read the last record (_Rreadl()) reads the last record in the access path currently being used for the file specified by fp.
- Read the next changed record in a subfile (_Rreadnc()) reads the next changed record from the current position in the subfile that is associated with fp.
- Read the next record (_Rreadn()) reads the next record in the access path that is currently being used for the file that is associated with fp.
- Read the previous record (_Rreadp()) reads the previous record in the access path that is currently being used for the file that is associated with fp.
- Read the same record (_Rreads()) reads the current record in the access path that is currently being used for the file that is associated with fp.
- Read wide character data (swscanf()) specifies a wide string from which the input is to be obtained, rather than from a stream.
- Read wide character from stream (fgetwc()) reads the next multibyte character from the input stream pointed to by stream, converts it to a wide character, and advances the associated file position indicator for the stream (if defined).
- Read wide character from stream (getwc()) reads the next multibyte character from stream, converts it to a wide character, and advances the associated file position indicator for stream.
- Read wide-character string from stream (fgetws()) reads at most one less than the number of wide characters specified by n from the stream pointed to by stream.
- Record program ending function (atexit()) records the function, pointed to by func, that the system calls at normal program end.
- Redirect open files (freopen()) closes the file that is currently associated with stream and reassigns stream to the file that is specified by filename.
- Release a program device (_Rrelease()) releases the program device that is specified by dev from the file that is associated with fp.
- Release a record lock (_Rrlslck()) releases the lock on the currently locked record for the file specified by fp.
- Release storage blocks (free()) frees a block of storage.
- Rename file (rename()) renames the file specified by oldname to the name given by newname.
- Reposition file position (fseek()) changes the current file position that is associated with stream to a new location within the file.
- Reposition file position (fseeko()) changes the current file position that is associated with stream to a new location within the file.
- Reserve and initialize storage (calloc()) reserves storage space for an array of num elements, each of length size bytes.
- Reserve Storage Block (malloc()) reserves a block of storage of size bytes.
- Reset error indicators (clearerr()) resets the error indicator and end-of-file indicator for the specified stream.
- Restore stack environment (longjmp()) restores a stack environment previously saved in env by the setjmp()function.
- Retrieve a message from a message catalog (catgets()) retrieves message msg_id, in setset_id from the message catalog that is identified by catd.
- Retrieve data area (QXXRTVDA()) retrieves a copy of the data area specified by dtaname starting at position offset with a length of len.
- Retrieve information from the environment (localeconv()) sets the components of a structure having type struct lconv to values appropriate for the current locale.
- Retrieve locale information (nl_langinfo()) retrieves from the current locale the string that describes the requested information specified by item.
- Retrieve wide locale information (wcslocaleconv()) sets the components of a structure having type structure wcslconv to values appropriate for the current locale.
- Return error message for regular expression (regerror()) finds the description for the error code errcode for the regular expression preg.
- Roll back commitment control changes (_Rrollbck()) reestablishes the last commitment boundary as the current commitment boundary.
- Search arrays (bsearch()) performs a binary search of an array of num elements, each of size bytes.
- Search buffer (memchr()) searches the first count bytes of buf for the first occurrence of c converted to an unsigned character.
- Search for character (strchr()) finds the first occurrence of a character in a string.
- Search for environment variables (getenv()) searches the list of environment variables for an entry corresponding to varname.
- Search for wide character (wcschr()) searches the wide-character string for the occurrence of character.
- Send signal (raise()) sends the signal sig to the running program.
- Separate floating-point value (frexp()) breaks down the floating-point value x into a term m for the mantissa and another term n for the exponent.
- Separate floating-point value (modf()) breaks down the floating-point value x into fractional and integral parts.
- Set bytes to value (memset()) sets the first count bytes of dest to the value c.
- Set characters in string (strnset()) sets, at most, the first n characters of string to c (converted to a char). If n is greater than the length of string, the length of string is used in place of n.
- Set characters in string (strset()) sets all characters of string to c.
- Set default program device (_Rpgmdev()) sets the current program device for the file that is associated with fp to dev.
- Set file position (fsetpos()) moves any file position that is associated with stream to a new location within the file according to the value pointed to by pos.
- Set locale (setlocale()) changes or queries variables that are defined in the <locale.h> include file, that indicate location.
- Set pointer to run-time error message (strerror()) maps the error number in errnum to an error message string.
- Set seed for rand() function (srand()) sets the starting point for producing a series of pseudo-random integers.
- Set separate indicator area (_Rindara()) registers indic_buf as the separate indicator area to be used by the file specified by fp.
- Set the record format name (_Rformat()) sets the record format to fmt for the file specified by fp.
- Set wide character buffer to a value (wmemset()) copies the value of c into each of the first n wide characters of the object pointed to by s.
- Solve equations (Bessel Functions) solves certain types of differential equations.
- Sort array (qsort()) sorts an array of num elements, each of width bytes in size.
- Stop a Program (abort()) causes an abnormal end to the program and returns control to the host environment.
- Test end-of-file indicator (feof()) indicates whether the end-of-file flag is set for the given stream.
- Test for ASCII value (isascii()) tests if an EBCDIC character, in the current locale, is a valid 7-bit US-ASCII character.
- Test for blank or tab character (isblank()) tests if a character is either the EBCDIC space or EBCDIC tab character.
- Test for character property (iswctype()) determines whether the wide character wc has the property wc_prop.
- Test for read/write errors (ferror()) tests for an error in reading from or writing to the given stream.
- Test integer value (isalnum()) tests a character with an integer value.
- Test integer value (isxdigit()) tests a character with an integer value.
- Test state object for initial state (mbsinit()) specifies whether the pointed to mbstate_t object describes an initial conversion state.
- Test wide integer value (iswalnum()) tests a given wide integer value.
- Test wide integer value (iswxdigit()) tests a given wide integer value.
- Tokenize string (strtok()) reads string1 as a series of zero or more tokens, and string2 as the set of characters serving as delimiters of the tokens in string1.
- Tokenize string (restartable) (strtok_r()) reads string as a series of zero or more tokens, and seps as the set of characters serving as delimiters of the tokens in string.
- Tokenize wide-character string (wcstok()) reads wcs1 as a series of zero or more tokens and wcs2 as the set of wide characters serving as delimiters for the tokens in wcs1.
- Transform a wide-character string (wcsxfrm()) transforms the wide-character string pointed to by wcs2 to values which represent character collating weights and places the resulting wide-character string into the array pointed to by wcs1.
- Transform string (strxfrm()) transforms the string pointed to by string2 and places the result into the string pointed to by string1.
- Translate wide character (towctrans()) maps the wide character wc using the mapping that is described by desc.
- Update a record (_Rupdate()) updates the record that is currently locked for update in the file that is specified by fp.
- Verify condition (assert()) prints a diagnostic message to stderr and aborts the program if expression is false (zero).
- Write a character (putc()) converts c to unsigned char and then writes c to the output stream at the current position.
- Write a character (putchar()) converts c to unsigned char and then writes c to the output stream at the current position.
- Write a record directly (_Rwrited()) writes a record to the file associated with fp at the position specified by rrn.
- Write a string (puts()) writes the given string to the standard output stream stdout; it also appends a new-line character to the output.
- Write and read a record (_Rwriterd()) performs a write and then a read operation on the file that is specified by fp.
- Write and read a record (separate buffers) (_Rwrread()) performs a write and then a read operation on the file that is specified by fp.
- Write buffer to file (fflush()) causes the system to empty the buffer that is associated with the specified output stream, if possible.
- Write character (_fputchar()) writes the single character c to the stdout stream at the current position.
- Write character (fputc()) converts c to an unsigned char and then writes c to the output stream at the current position and advances the file position appropriately.
- Write formatted data to a stream (fprintf()) formats and writes a series of characters and values to the output stream.
- Write items (fwrite()) writes up to count items, each of size bytes in length, from buffer to the output stream.
- Write string (fputs()) copies string to the output stream at the current position.
- Write the next record (_Rwrite()) appends a record to the file specified by fp.
- Write wide character (fputwc()) converts the wide character wc to a multibyte character and writes it to the output stream pointed to by stream at the current position.
- Write wide character (putwc()) converts the wide character wc to a multibyte character, and writes it to the stream at the current position.
- Write wide character to stdout (putwchar()) converts the wide character wc to a multibyte character and writes it to stdout.
- Write wide-character string (fputws()) converts the wide-character string wcs to a multibyte-character string and writes it to stream as a multibyte-character string.