/* startdaemon.c 4.3 83/05/18 */
* Tell the printer daemon that there are new files in the spool directory.
register int rem
, i
, err
= 0;
(void) sprintf(buf
, "\1%s\n", printer
);
if (write(rem
, buf
, i
) != i
) {
while ((i
= read(rem
, buf
, sizeof(buf
))) > 0) {
(void) fwrite(buf
, 1, i
, stdout
);
return(i
== 0 && err
== 0);