Thread View: comp.sys.ibm.pc.rt
1 messages
1 total messages
Started by Jamie Watson
Wed, 09 Aug 1989 09:45
lint library for queue backend library
Author: Jamie Watson
Date: Wed, 09 Aug 1989 09:45
Date: Wed, 09 Aug 1989 09:45
61 lines
2462 bytes
2462 bytes
In the process of writing the raw queue backend, I wrote the following
lint library for the AIX queue backend library. Use the command
lint -c llib-lqb.c
to produce llib-lqb.ln.
#! /bin/sh
# This is a shell archive. Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file". To overwrite existing
# files, type "sh file -c". You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g.. If this archive is complete, you
# will see the following message at the end:
# "End of shell archive."
# Contents: llib-lqb.c
# Wrapped by jw@pan on Wed Aug 9 11:42:58 1989
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'llib-lqb.c' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'llib-lqb.c'\"
else
echo shar: Extracting \"'llib-lqb.c'\" \(900 characters\)
sed "s/^X//" >'llib-lqb.c' <<'END_OF_FILE'
X/*LINTLIBRARY*/
X
Xvoid burst_page(f, w) int(*f)(); {}
X
Xint get_align() { return(0); }
Xint get_copies() { return(0); }
Xint get_endgroup() { return(0); }
Xint get_feed() { return(0); }
Xchar * get_from() { return(""); }
Xint get_header() { return(0); }
Xchar * get_lastuser() { return(""); }
Xchar * get_moddate() { return(""); }
Xint get_newuser() { return(0); }
Xchar * get_nodeid() { return(""); }
Xchar * get_qdate() { return(""); }
Xchar * get_title() { return(""); }
Xchar * get_to() { return(""); }
Xint get_trailer() { return(0); }
X
Xint log_charge(c) long c; { return(0); }
Xint log_init() { return(0); }
X /*VARARGS1 PRINTFLIKE1*/
Xint log_message(s) char *s; { return (0); }
Xint log_progress(pg, pct) { return(pg); }
Xint log_status(s) { return(s); }
X
Xint put_header(f, w) int(*f)(); { return(w); }
Xint put_trailer(f, w) int(*f)(); { return(w); }
X
X /* This is actually from <IN/standard.h> */
Xchar _sobuf[];
END_OF_FILE
if test 900 -ne `wc -c <'llib-lqb.c'`; then
echo shar: \"'llib-lqb.c'\" unpacked with wrong size!
fi
# end of 'llib-lqb.c'
fi
echo shar: End of shell archive.
exit 0
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads