warnx prints the name of the program, a colon, the text generated by passing format and subsequent args through printf, and a newline.
warn prints the same thing, except that a colon and the error string for the current error (obtained by calling strerror on errno) are printed prior to the newline.
vwarnx and vwarn are the same as warnx and warn respectively, except that the additional arguments for printf are taken to have been already packaged up in a va_list by use of the stdarg facility.