ast_comparator/test/student_data/handout/shlab-handout/cases/reference_22_tsh.c
/*
 * Requires:
 *   None.
 *
 * Effects:
 *   Prints the long "v" 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 long could not be printed.
 */
None.

Prints the long "v" 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 long could not be printed.
None . Prints the long " v " 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 long could not be printed .
static ssize_t
sio_putl(long v)
{
	char s[128];
	sio_ltoa(v, s, 10);
	return (sio_puts(s));
}
static ssize_t sio_putl ( long v ) { char s [ 128 ] ; sio_ltoa ( v , s , 10 ) ; return ( sio_puts ( s ) ) ; }
Requires:
   None.
Requires : None .