ast_comparator/test/student_data/handout/shlab-handout/cases/reference_22_tsh.c
/*
 * Requires:
 *   "s" is a properly terminated string.
 *
 * Effects:
 *   Prints the string "s" to stdout using only functions that can be safely
 *   called by a signal handler, and returns either the number of characters
 *   printed or -1 if the string could not be printed.
 */
"s" is a properly terminated string.

Prints the string "s" to stdout using only functions that can be safely
called by a signal handler, and returns either the number of characters
printed or -1 if the string could not be printed.
" s " is a properly terminated string . Prints the string " s " to stdout using only functions that can be safely called by a signal handler and returns either the number of characters printed or - 1 if the string could not be printed .
static ssize_t
sio_puts(char s[])
{
	return (write(STDOUT_FILENO, s, sio_strlen(s)));
}
static ssize_t sio_puts ( char s [ ] ) { return ( write ( STDOUT_FILENO , s , sio_strlen ( s ) ) ) ; }
Requires:
   "s" is a properly terminated string.
Requires : " s " is a properly terminated string .