version 1.2, 1996/06/26 05:31:45 |
version 1.3, 1996/09/16 16:36:04 |
|
|
return (stdout); |
return (stdout); |
|
|
/* set output to a temporary file, so if no output don't send mail */ |
/* set output to a temporary file, so if no output don't send mail */ |
(void)snprintf(path, sizeof(path), "%s/_calXXXXXX", _PATH_TMP); |
(void)snprintf(path, sizeof(path), "%s_calXXXXXX", _PATH_TMP); |
if ((fd = mkstemp(path)) < 0) |
if ((fd = mkstemp(path)) < 0) |
return (NULL); |
return (NULL); |
return (fdopen(fd, "w+")); |
return (fdopen(fd, "w+")); |