Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/printutils/lpd.c

    r2725 r3232  
    7171 */
    7272
     73//usage:#define lpd_trivial_usage
     74//usage:       "SPOOLDIR [HELPER [ARGS]]"
     75//usage:#define lpd_full_usage "\n\n"
     76//usage:       "SPOOLDIR must contain (symlinks to) device nodes or directories"
     77//usage:     "\nwith names matching print queue names. In the first case, jobs are"
     78//usage:     "\nsent directly to the device. Otherwise each job is stored in queue"
     79//usage:     "\ndirectory and HELPER program is called. Name of file to print"
     80//usage:     "\nis passed in $DATAFILE variable."
     81//usage:     "\nExample:"
     82//usage:     "\n    tcpsvd -E 0 515 softlimit -m 999999 lpd /var/spool ./print"
     83
    7384#include "libbb.h"
    7485
     
    92103    // SECURITY:
    93104    size_t max = 4 * 1024; // more than enough for commands!
    94     return xmalloc_reads(STDIN_FILENO, NULL, &max);
     105    return xmalloc_reads(STDIN_FILENO, &max);
    95106}
    96107
Note: See TracChangeset for help on using the changeset viewer.