/*
* Receive printer jobs from the network, queue them and
* start the printer daemon.
/*
* Receive printer jobs from the network, queue them and
* start the printer daemon.
if (chdir(SD) < 0)
fatal("cannot chdir to %s", SD);
if (stat(LO, &stb) == 0 && (stb.st_mode & 010)) {
if (chdir(SD) < 0)
fatal("cannot chdir to %s", SD);
if (stat(LO, &stb) == 0 && (stb.st_mode & 010)) {
* Read printer jobs sent by lpd and copy them to the spooling directory.
* Return the number of jobs successfully transfered.
*/
* Read printer jobs sent by lpd and copy them to the spooling directory.
* Return the number of jobs successfully transfered.
*/