- prototype in string.h - creates an error message based on the user supplied string followed by a colon, then the library error message - string = user error message string - returns pointer to the generated string - does not print the string