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.  Either returns the number of characters
 *   printed or exits 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.  Either returns the number of characters
printed or exits 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 . Either returns the number of characters printed or exits if the string could not be printed .
static ssize_t
Sio_puts(char s[])
{
	ssize_t n;
	if ((n = sio_puts(s)) < 0)
		sio_error("Sio_puts error");
	return (n);
}
static ssize_t Sio_puts ( char s [ ] ) { ssize_t n ; if ( ( n = sio_puts ( s ) ) < 0 ) sio_error ( " " ) ; return ( n ) ; }
Requires:
   "s" is a properly terminated string.
Requires : " s " is a properly terminated string .