Added FORMAT information for our lint; Documented the _format routine

This commit is contained in:
ceriel
1989-02-07 11:17:22 +00:00
parent f3584b3d52
commit c64da88289
6 changed files with 48 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
#include <varargs.h>
char *long2str();
extern char *long2str();
static int
integral(c)
@@ -26,6 +26,13 @@ integral(c)
return 0;
}
/*FORMAT1 $
%s = char *
%l = long
%c = int
%[uxbo] = unsigned int
%d = int
$ */
int
_format(buf, fmt, argp)
char *buf, *fmt;