Lines Matching refs:outfd
44 static int do_command(int outfd, int infd, const char *command);
45 static int print_job(int outfd, int infd, char *dest, char **args) __attribute__((nonnull(4)));
46 static int print_waiting(int outfd, int infd, char *dest);
47 static int remove_job(int outfd, int infd, char *dest, char **args) __attribute__((nonnull(4)));
48 static int status_long(int outfd, int infd, char *dest, char **args) __attribute__((nonnull(4)));
49 static int status_short(int outfd, int infd, char *dest, char **args) __attribute__((nonnull(4)));
209 do_command(int outfd, /* I - Command file descriptor */
221 if (write(outfd, command, len) < len)
241 print_job(int outfd, /* I - Command file descriptor */
278 if ((status = do_command(outfd, infd, command)) != 0)
313 if ((status = do_command(outfd, infd, command)) != 0)
321 if (write(outfd, control, bytes) < bytes)
350 if ((status = do_command(outfd, infd, command)) != 0)
358 if (write(outfd, buffer, bytes) < bytes)
366 write(outfd, "", 1);
394 print_waiting(int outfd, /* I - Command file descriptor */
407 return (do_command(outfd, infd, command));
416 remove_job(int outfd, /* I - Command file descriptor */
438 return (do_command(outfd, infd, command));
447 status_long(int outfd, /* I - Command file descriptor */
468 if (write(outfd, command, bytes) < bytes)
490 status_short(int outfd, /* I - Command file descriptor */
511 if (write(outfd, command, bytes) < bytes)