 
The ANSI library is declared in the following header files.
| assert.h | ctype.h | errno.h | float.h | limits.h | 
| locale.h | math.h | setjmp.h | signal.h | stdarg.h | 
| stddef.h | stdio.h | stdlib.h | string.h | time.h | 
 assert
   assert 
     
 isalnum 
     Checks whether a character is alphanumeric (A-Z, a-z, 0-9)
   isalnum 
     Checks whether a character is alphanumeric (A-Z, a-z, 0-9)
   isalpha
      isalpha   
   iscntrl   Checks whether
    a character is a control character or delete ( decimal 0-31 and 127)
      iscntrl   Checks whether
    a character is a control character or delete ( decimal 0-31 and 127)
   isdigit   Checks whether
    a character is a digit (0-9)
      isdigit   Checks whether
    a character is a digit (0-9)
   isgraph   Checks whether
    a character is a printable character, excluding the space (decimal 32)
      isgraph   Checks whether
    a character is a printable character, excluding the space (decimal 32)
   islower   Checks whether
    a character is a lower case letter (a-z).
      islower   Checks whether
    a character is a lower case letter (a-z).
   isprint   Checks whether
    a character is printable (decimal 32-126).
      isprint   Checks whether
    a character is printable (decimal 32-126).
   ispunct   Checks whether
    a character is punctuation (decimal 32-47, 58-63, 91-96, 123-126)
      ispunct   Checks whether
    a character is punctuation (decimal 32-47, 58-63, 91-96, 123-126)
   isspace   Checks whether
    a character is white space - space, CR HT VT NL, FF.
      isspace   Checks whether
    a character is white space - space, CR HT VT NL, FF.
   isupper   Checks whether
    a character is an upper case letter (A-Z).
      isupper   Checks whether
    a character is an upper case letter (A-Z).
   isxdigit   Checks whether
    a character is hex digit (0-9, A-F, a-f).
      isxdigit   Checks whether
    a character is hex digit (0-9, A-F, a-f).
   toupper   Converts a lowercase
    character to uppercase.
      toupper   Converts a lowercase
    character to uppercase.
   tolower   Convert an uppercase
    character to lowercase.
      tolower   Convert an uppercase
    character to lowercase.
 errno
   errno 
     
 setlocale
   setlocale 
 acos
   acos 
   asin
      asin 
   atan
      atan 
   atan2
      atan2 
   ceil  smallest integral value not less
    than x
      ceil  smallest integral value not less
    than x
   cos  Cosine.
      cos  Cosine.
   cosh
      cosh 
   exp
      exp 
   fabs  absolute value of floating-point
    number
      fabs  absolute value of floating-point
    number
   floor  largest integral value not greater
    than x
      floor  largest integral value not greater
    than x
   fmod  floating-point remainder function
      fmod  floating-point remainder function
   frexp
      frexp 
   ldexp
      ldexp 
   log
      log 
   log10
      log10 
   modf
      modf  
   pow  Raise a number by
    a power.
   pow  Raise a number by
    a power.
   sin  The sine of an integer.
      sin  The sine of an integer.
   sinh
      sinh  
   sqrt  Square root of
    a number.
   sqrt  Square root of
    a number.
   tan  Tangent.
      tan  Tangent.
   tanh  Hyperbolic tangent.
      tanh  Hyperbolic tangent.
 setjmp
   setjmp 
   longjmp
      longjmp  
 signal
   signal 
   raise
      raise  
 va_start
   va_start 
   va_arg
      va_arg 
   va_end
      va_end 
   An example of use   
    See also vprintf vfprintf and vsprintf which
    all print the contents of a va_list
      An example of use   
    See also vprintf vfprintf and vsprintf which
    all print the contents of a va_list
 clearerr
      clearerr 
   fclose  Close a file.
      fclose  Close a file.
   feof  Check for EOF while reading
    a file.
      feof  Check for EOF while reading
    a file.
   fflush
      fflush 
   fgetc  Read a character from a file.
      fgetc  Read a character from a file.
   fgetpos
      fgetpos 
   fgets  Read a record from a file (safer than
    fgetc).
      fgets  Read a record from a file (safer than
    fgetc).
   fopen  Open a file
      fopen  Open a file
   fprintf  O/P a line of data to a file.
      fprintf  O/P a line of data to a file.
   fputc  Put a charater into a file.
      fputc  Put a charater into a file.
   fputs  Put a string into a file.
      fputs  Put a string into a file.
   fread
      fread 
   freopen
      freopen 
   fscanf
      fscanf 
   fseek
      fseek 
   fsetpos
      fsetpos 
   ftell
      ftell 
   fwrite
      fwrite 
   getc  Get a character from an input stream.
      getc  Get a character from an input stream.
   getchar  Get a character from the keyboard
    (STDIN).
      getchar  Get a character from the keyboard
    (STDIN).
   gets  Get string (from keyboard).
      gets  Get string (from keyboard).
   perror
      perror 
   printf  O/P data to the screen or a file.
      printf  O/P data to the screen or a file.
   putchar  O/P a character to STDOUT.
      putchar  O/P a character to STDOUT.
   puts  O/P data to the screen or a file.
      puts  O/P data to the screen or a file.
   remove  Remove a file.
      remove  Remove a file.
   rewind
      rewind 
   scanf
      scanf 
   setbuf
      setbuf 
   setvbuf
      setvbuf 
   sprintf O/P data in tha same way as 'printf'
    but put it into a string.
      sprintf O/P data in tha same way as 'printf'
    but put it into a string.
   sscanf  Extract fields from a string.
      sscanf  Extract fields from a string.
   tmpfile
      tmpfile 
   tmpnam
      tmpnam 
   ungetc
      ungetc 
   vfprintf  O/P a va_list to a file.
      vfprintf  O/P a va_list to a file.
   vprintf  O/P a va_list to stdout.
      vprintf  O/P a va_list to stdout.
   vsprintf  O/P a va_list to a string.
      vsprintf  O/P a va_list to a string.
    
 abort  a program.
   abort  a program.
   abs  compute the absolute value of an
    integer. Can be defined outside stdlib.h as macro:
      abs  compute the absolute value of an
    integer. Can be defined outside stdlib.h as macro: atexit  Execute the named function when the
    program terminates.
      atexit  Execute the named function when the
    program terminates.
   atof  convert a string to a double
      atof  convert a string to a double
   atoi  Accepts +-0123456789
    leading blanks and converts to integer.
      atoi  Accepts +-0123456789
    leading blanks and converts to integer.
   atol  convert a string to a long integer
      atol  convert a string to a long integer
   bsearch  Binary chop.
      bsearch  Binary chop.
   calloc  memory for an array.
      calloc  memory for an array.
   div  compute the quotient and remainder
    of integer division
      div  compute the quotient and remainder
    of integer division
   exit  Normally terminate a program.
      exit  Normally terminate a program.
   getenv  Get an environmental variable.
      getenv  Get an environmental variable.
   free  memory allocated with malloc.
      free  memory allocated with malloc.
   labs  compute the absolute value of
    a long integer
      labs  compute the absolute value of
    a long integer
   ldiv  compute the quotient and remainder
    of long integer division.
      ldiv  compute the quotient and remainder
    of long integer division.
   malloc  dynamically allocate memory.
      malloc  dynamically allocate memory.
   mblen  determine the number of bytes
    in a character
      mblen  determine the number of bytes
    in a character
   mbstowcs  convert a multibyte string
    to a wide character string.
      mbstowcs  convert a multibyte string
    to a wide character string.
   mbtowc  convert a multibyte character
    to a wide character
      mbtowc  convert a multibyte character
    to a wide character
   qsort  Sort an array.
      qsort  Sort an array.
   rand  Generate a random number.
      rand  Generate a random number.
   realloc  Reallocate memory.
      realloc  Reallocate memory.
   strtod  Convert a string to a double.
      strtod  Convert a string to a double.
   strtol  String to long integer conversion.
    Takes data in various number bases.
      strtol  String to long integer conversion.
    Takes data in various number bases.
   strtoul  Convert a string to an unsigned
    long. This can also perform number base conversion.
      strtoul  Convert a string to an unsigned
    long. This can also perform number base conversion.
   srand  Seed a random number.
      srand  Seed a random number.
   system  Issue a command to the operating
    system
      system  Issue a command to the operating
    system
   wctomb  convert a wide character to
    a multibyte character.
      wctomb  convert a wide character to
    a multibyte character.
   wcstombs  convert a wide character
    string to a multibyte character string.
      wcstombs  convert a wide character
    string to a multibyte character string. 
 memchr  Copy a character
    into memory.
   memchr  Copy a character
    into memory.
   memcmp  Compare memory locations.
      memcmp  Compare memory locations.
   memcpy  Copy memory.
      memcpy  Copy memory.
   memmove  Move memory.
      memmove  Move memory.
   memset  Set memory.
      memset  Set memory.
   strcat  Concatinate two strings.
      strcat  Concatinate two strings.
    
   strchr  Search for a character
    in a string.
   strchr  Search for a character
    in a string.
   strcmp  Compare strings.
      strcmp  Compare strings.
   strcoll
      strcoll 
   strcpy  Copy strings.
      strcpy  Copy strings.
   strcspn
      strcspn 
   strerror
      strerror 
   strlen  Length of a string.
      strlen  Length of a string.
   strncat  Concatinate two strings.
      strncat  Concatinate two strings.
   strncmp  Compare two strings.
      strncmp  Compare two strings.
   strncpy  Copy part of a string.
      strncpy  Copy part of a string.
   strpbrk
      strpbrk 
   strrchr  Search for a character in a string.
      strrchr  Search for a character in a string.
   strspn
      strspn 
   strstr  Search a string for a substring.
      strstr  Search a string for a substring.
   strtok  The books say this function splits
    a string into tokens. I think its function is best described as parsing a
    string.
      strtok  The books say this function splits
    a string into tokens. I think its function is best described as parsing a
    string.
   strxfrm
      strxfrm 
 asctime
   asctime 
   clock
      clock 
   ctime
      ctime 
   difftime
      difftime 
   gmtime
      gmtime 
   localtime
      localtime 
   mktime
      mktime 
   strftime
      strftime 
   time
      time 
   Example  program using some of the time
    functions.
  
    Example  program using some of the time
    functions.
 opendir  Open a directory.
   opendir  Open a directory.
   closedir  Close a directory.
      closedir  Close a directory.
   readdir  Read a directory entry.
      readdir  Read a directory entry.
   rewinddir  Return to the beginning of
    a directory.
      rewinddir  Return to the beginning of
    a directory.
   scandir  Scan a directory for a matching
    entry.
      scandir  Scan a directory for a matching
    entry.
   seekdir  Move to an offset in a directory.
      seekdir  Move to an offset in a directory.
   telldir  Return the location within a
    directory.
      telldir  Return the location within a
    directory.
 access
   access 
   alarm
      alarm 
   chdir  Change the current working
    directory.
      chdir  Change the current working
    directory.
   chown  Change the ownership of a file.
      chown  Change the ownership of a file.
   close  Close a file (see
    low level functions)
      close  Close a file (see
    low level functions)
   chroot  Change the root directory
    I am not 100% sure this is supposed to be in unistd.
      chroot  Change the root directory
    I am not 100% sure this is supposed to be in unistd.
   ctermid
      ctermid 
   cuserid
      cuserid 
   dup  duplicate a file descriptor
      dup  duplicate a file descriptor
   dup2  duplicate a file descriptor
      dup2  duplicate a file descriptor
   execl
      execl 
   execle
      execle 
   execlp
      execlp 
   execv
      execv 
   execve
      execve 
   execvp
      execvp 
   fchdir  Change the current working
    directory.I am not 100% sure this is supposed to be in unistd.
      fchdir  Change the current working
    directory.I am not 100% sure this is supposed to be in unistd.
   fork  Create a child process.
      fork  Create a child process.
   fpathconf  Change the current working
    directory.I am not 100% sure this is supposed to be in unistd.
      fpathconf  Change the current working
    directory.I am not 100% sure this is supposed to be in unistd.
   getegid  Get the group ID of the process.
      getegid  Get the group ID of the process.
   geteuid  Get the User ID of the process.
      geteuid  Get the User ID of the process.
   gethostname  Name of the host
    (see uname). Not 100% sure this is in unistd
      gethostname  Name of the host
    (see uname). Not 100% sure this is in unistd
   getopt,  parse the command line Not
    100% sure this is in unistd.
      getopt,  parse the command line Not
    100% sure this is in unistd.
   getgid  Get a group ID.
      getgid  Get a group ID.
   getgroups
      getgroups 
   getlogin
      getlogin 
   getpgrp
      getpgrp 
   getpid  get process ID.
      getpid  get process ID.
   getppid,  get parent process ID.
      getppid,  get parent process ID.
   getuid  Get the User ID of the process.
      getuid  Get the User ID of the process.
   isatty
      isatty 
   link
      link 
   lseek
      lseek 
   mkdir  Make a directory
      mkdir  Make a directory
   open  Open a file
      open  Open a file
   pathconf
      pathconf 
   pause  Put the program to sleep.
      pause  Put the program to sleep.
   pipe
      pipe 
   read  Read a file descriptor.
      read  Read a file descriptor.
   rename  Rename a file. This function
    can also be found in the ANSI stdio library. MAN PAGE.
      rename  Rename a file. This function
    can also be found in the ANSI stdio library. MAN PAGE.
   rmdir  Remove a directory
      rmdir  Remove a directory
   setgid  Set the Group ID of the process.
      setgid  Set the Group ID of the process.
   setpgid
      setpgid 
   setsid
      setsid  
   setuid  Set the User
    ID of the process.
   setuid  Set the User
    ID of the process. 
   sleep  Pause for a
    required number of seconds.
   sleep  Pause for a
    required number of seconds.
   sysconf
      sysconf 
   tcgetpgrp
      tcgetpgrp 
   tcsetpgrp
      tcsetpgrp 
   ttyname
      ttyname 
   unlink  Remove a file
      unlink  Remove a file
   write  Write to a file descriptor.
      write  Write to a file descriptor.
    
 clrscr  Clear screen
   clrscr  Clear screen
   getch  Get a character from the keyboard.
      getch  Get a character from the keyboard.
   getche  Get a character from the keyboard.
      getche  Get a character from the keyboard.
These functions are not in the ANSI standard libraries but are handy all the same.
 dirent.h  Functions
    performing actions on directories
   dirent.h  Functions
    performing actions on directories
   statfs  Filesystem statistics.
  
    statfs  Filesystem statistics.
   unistd.h
      unistd.h 
   Ungrouped functions.
      Ungrouped functions. 
 endpwent
   endpwent 
   fgetpwent
      fgetpwent 
   getpw  Get a password entry.
      getpw  Get a password entry.
   getpwent  Get a password entry.
      getpwent  Get a password entry.
   getpwnam  Get a record by keying on the
    user name.
      getpwnam  Get a record by keying on the
    user name.
   getpwuid  Get a record by keying on the
    UID (numeric).
      getpwuid  Get a record by keying on the
    UID (numeric).
   getuidx  Get the User ID of a process
    (RS/6000 only).
      getuidx  Get the User ID of a process
    (RS/6000 only).
   index  Search for a character in a string
    (Use strchr to conform to the ANSI standard).
      index  Search for a character in a string
    (Use strchr to conform to the ANSI standard).
   putpwent
      putpwent 
   pclose  Close a pipe.
      pclose  Close a pipe.
   popen  Open a Unix pipe.
      popen  Open a Unix pipe.
   putenv  Change or create an environmental
    variable.
      putenv  Change or create an environmental
    variable.
   setenv  Change or create an environmental
    variable.
      setenv  Change or create an environmental
    variable.
   setpwent
      setpwent 
   setreuid  Set the ID of the process calling
    process.
      setreuid  Set the ID of the process calling
    process.
   stat  Get status information on files
    (modification time, file size etc).
      stat  Get status information on files
    (modification time, file size etc). 
   uname  Get information
    about the machine we are running on.
   uname  Get information
    about the machine we are running on.
   unsetenv  Remove an environmental variable.
      unsetenv  Remove an environmental variable.
   setuidx  Set the User ID of the process
    (RS/6000 only).
      setuidx  Set the User ID of the process
    (RS/6000 only).
   setegid setrgid  Set the Group ID of
    the process.
      setegid setrgid  Set the Group ID of
    the process. 
   seteuid setruid  Set
    the User ID of the process.
   seteuid setruid  Set
    the User ID of the process.
   getruid  Get the User ID of the process.
      getruid  Get the User ID of the process.
   sizeof  Return the storage allocation
    for a data type.This is actually
    an operator! I have put it in here as it looks like a function and so you
    will probably look for it here....
      sizeof  Return the storage allocation
    for a data type.This is actually
    an operator! I have put it in here as it looks like a function and so you
    will probably look for it here....
   example showing the size of data types
  
    example showing the size of data types
   example showing the size of data objects.
  
    example showing the size of data objects.
 clrscr.  Clear the
    screen using VT escape sequence.
   clrscr.  Clear the
    screen using VT escape sequence.
   convesc.  Insert escape codes into a
    text string.
  
    convesc.  Insert escape codes into a
    text string.
   basename.  Strip directory information
    from a Unix file name.
  
    basename.  Strip directory information
    from a Unix file name.
   printenv.  List the environmental variables.
  
    printenv.  List the environmental variables.
   lenstr  User written version of
    strlen
  
    lenstr  User written version of
    strlen
   reverse  Reverse characters in a string.
  
    reverse  Reverse characters in a string.
| Top | Master Index | Keywords | Functions | 
| file: /Techref/language/ccpp/Cref/FUNCTIONS/index.htm, 45KB, , updated: 2017/8/26 12:08, local time: 2025/10/30 23:14, 
 
216.73.216.219,10-1-97-123:LOG IN | 
| ©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/Techref/language/ccpp/Cref/FUNCTIONS/index.htm"> C Functions</A> | 
| Did you find what you needed? | 
| Welcome to ecomorder.com! | 
| The Backwoods Guide to Computer Lingo | 
.