libs: get rid of libstdio (and stdio.h); `mv ctype.h chartypes.h` in /sys/include

This commit is contained in:
Giacomo Tesio 2020-09-13 02:21:36 +02:00
parent 0a325039bf
commit 16c7924425
132 changed files with 113 additions and 3875 deletions

View File

@ -1,16 +1,12 @@
{
"buildflags": {
"Cflags": [
"-fno-omit-frame-pointer",
"-fplan9-extensions",
"-fvar-tracking",
"-fvar-tracking-assignments",
"-9",
"-g",
"-gdwarf-2",
"-ggdb",
"-mcmodel=small",
"-O0",
"-static",
"-Wall",
"-Wno-main",
"-Wno-missing-braces",

View File

@ -1,13 +1,12 @@
#include <u.h>
#include <lib9.h>
#include <stdio.h>
void
main(){
char *correct="0.987650\n";
static char result[128];
sprintf(result, "%f\n", 0.98765f);
sprint(result, "%f\n", 0.98765f);
if(!strcmp(result, correct)){
print("PASS\n");

View File

@ -1,17 +1,21 @@
{
"SimplePOSIXTests": {
"Include": [
"/arch/$ARCH/include/cflags.json"
],
"Cflags": [
"-g",
"-gdwarf-2",
"-ggdb",
"-mcmodel=small",
"-O0",
"-Wall",
"-Wno-main",
"-Wno-missing-braces",
"-Wno-parentheses",
"-Wno-unknown-pragmas",
"-fstack-check",
"-fstack-protector-all",
"-O2",
"-std=gnu11"
],
"Oflags": [
"-static"
],
"Install": "/arch/$ARCH/qa/lib/newlib",
"Post": [
"rm -f *.o",
@ -61,19 +65,23 @@
]
},
"SIGCHLDTests": {
"Include": [
"/arch/$ARCH/include/cflags.json"
],
"Cflags": [
"-g",
"-gdwarf-2",
"-ggdb",
"-mcmodel=small",
"-O0",
"-Wall",
"-Wno-main",
"-Wno-missing-braces",
"-Wno-parentheses",
"-Wno-unknown-pragmas",
"-fstack-check",
"-fstack-protector-all",
"-O2",
"-DWITH_SIGCHLD",
"-std=gnu11"
],
"Oflags": [
"-static"
],
"Install": "/arch/$ARCH/qa/lib/newlib/sigchld",
"Post": [
"rm -f *.o",

View File

@ -1,9 +1,16 @@
{
"NewlibTestsuite": {
"Include": [
"/arch/$ARCH/include/cflags.json"
],
"Cflags": [
"-g",
"-gdwarf-2",
"-ggdb",
"-mcmodel=small",
"-O0",
"-Wall",
"-Wno-main",
"-Wno-missing-braces",
"-Wno-parentheses",
"-Wno-unknown-pragmas",
"-iquote", "/hacking/cross/pkgs/newlib/src/newlib/testsuite/include/",
"-fstack-check",
"-Wno-unused-variable",

View File

@ -1,3 +1,12 @@
/*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, propagated, or distributed except according to the terms contained
* in the LICENSE file.
*/
#pragma src "/sys/src/lib/stdio"
#pragma lib "libstdio.a"

View File

@ -36,7 +36,7 @@
#ifdef __cplusplus
extern "C" {
#endif
#include "../stdio.h"
#include "9stdio.h"
#ifdef __cplusplus
}
#endif

View File

@ -14,7 +14,7 @@
#include <thread.h>
#include <9P2000.h>
#include <9p.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include "dat.h"
void mainctl(void*);

View File

@ -14,7 +14,7 @@
#include <lib9.h>
#include <libsec.h>
#include <authsrv.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <bio.h>
#include "authcmdlib.h"

View File

@ -16,7 +16,7 @@
#include <u.h>
#include <lib9.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include "authcmdlib.h"
void

View File

@ -15,7 +15,7 @@
*/
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <authsrv.h>
#include <mp.h>
#include <libsec.h>

View File

@ -26,7 +26,7 @@
* write response: Chapreply or MSchapreply structure
*/
#include <jehanne/ctype.h>
#include <chartypes.h>
#include "dat.h"
enum {

View File

@ -15,7 +15,7 @@
*/
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <authsrv.h>
#include <9P2000.h>
#include <bio.h>

View File

@ -15,7 +15,7 @@
*/
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <bio.h>
#include <authsrv.h>
#include "authcmdlib.h"

View File

@ -16,7 +16,7 @@
#include <u.h>
#include <lib9.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <authsrv.h>
#include "authcmdlib.h"

View File

@ -16,7 +16,7 @@
#include <u.h>
#include <lib9.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <authsrv.h>
#include "authcmdlib.h"

View File

@ -16,7 +16,7 @@
#include <u.h>
#include <lib9.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <authsrv.h>
#include "authcmdlib.h"

View File

@ -29,7 +29,7 @@
#include <u.h>
#include <lib9.h>
#include <ip.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <mp.h>
#include <libsec.h>
#include <bio.h>

View File

@ -24,7 +24,7 @@ THIS SOFTWARE.
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <bio.h>
#include "awk.h"
#include "y.tab.h"

View File

@ -24,7 +24,7 @@ THIS SOFTWARE.
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <bio.h>
#include "awk.h"
#include "y.tab.h"

View File

@ -24,7 +24,7 @@ THIS SOFTWARE.
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <bio.h>
#include <regexp.h>
#include "awk.h"

View File

@ -24,7 +24,7 @@ THIS SOFTWARE.
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <bio.h>
#include "awk.h"
#include "y.tab.h"

View File

@ -25,7 +25,7 @@ THIS SOFTWARE.
#include <u.h>
#include <lib9.h>
#include <envvars.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <bio.h>
#include "awk.h"
#include "y.tab.h"

View File

@ -4,7 +4,6 @@
"/arch/$ARCH/include/cflags.json"
],
"Cflags": [
"-9",
"-fstack-check",
"-fstack-protector-all"
],
@ -22,7 +21,6 @@
"-ldraw",
"-lplumb",
"-lregexp",
"-lstdio",
"-lString",
"-l9p",
"-lauth",

View File

@ -15,7 +15,7 @@
*/
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <disk.h>
/*

View File

@ -56,7 +56,7 @@ expr: NUMBER
%%
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include "disk.h"
#include "edit.h"

View File

@ -19,7 +19,7 @@
#include <u.h>
#include <lib9.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <disk.h>
#include "edit.h"

View File

@ -13,7 +13,7 @@
#include <u.h>
#include <lib9.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <disk.h>
#include "edit.h"

View File

@ -16,7 +16,7 @@
#include <u.h>
#include <lib9.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <regexp.h>
typedef struct Range Range;

View File

@ -10,7 +10,7 @@
#include <u.h>
#include <lib9.h>
#include <envvars.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <bio.h>
#include <ip.h>
#include <libsec.h>

View File

@ -144,7 +144,7 @@ arglist: /* nothing */ { $$ = 0; }
%%
/* end of grammar */
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
char *progname;
int lineno = 1;
jmp_buf begin;

View File

@ -18,7 +18,7 @@
#include <ip.h>
#include <bio.h>
#include <ndb.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include "dat.h"
/*

View File

@ -9,7 +9,7 @@
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <auth.h>
#include <9P2000.h>
#include <draw.h>

View File

@ -10,7 +10,7 @@
/* ping for ip v4 and v6 */
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <ip.h>
#include <bio.h>
#include <ndb.h>

View File

@ -9,7 +9,7 @@
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <bio.h>
#include <ndb.h>
#include <ip.h>

View File

@ -11,7 +11,7 @@
#include <u.h>
#include <lib9.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
enum {
F1,

View File

@ -13,7 +13,7 @@
#include <u.h>
#include <libc.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
static int debug;
static int lockwait;

View File

@ -19,7 +19,7 @@
#include <auth.h>
#include <9P2000.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <ndb.h>
#include <ip.h>
#include <String.h>

View File

@ -19,7 +19,7 @@
#include <bio.h>
#include <ndb.h>
#include <ip.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include "dns.h"
enum {

View File

@ -16,7 +16,7 @@
#include <u.h>
#include <lib9.h>
#include <ip.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include "dns.h"
/*

View File

@ -16,7 +16,7 @@
#include <u.h>
#include <lib9.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <ip.h>
#include <ndb.h>
#include "dns.h"

View File

@ -13,7 +13,7 @@
#include <u.h>
#include <lib9.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <ndb.h>
#include "dns.h"
#include "ip.h"

View File

@ -16,7 +16,7 @@
#include <u.h>
#include <lib9.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
Biobuf in;
Biobuf out;

View File

@ -1,6 +1,6 @@
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <bio.h>
#include <flate.h>
#include <draw.h>

View File

@ -2,7 +2,7 @@
#include <lib9.h>
#include <bio.h>
#include <draw.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include "imagefile.h"
Rawimage *readppm(Biobuf*, Rawimage*);

View File

@ -9,7 +9,7 @@
#include <lib9.h>
#include <bio.h>
#include <draw.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include "imagefile.h"
enum {

View File

@ -27,7 +27,7 @@
#include <lib9.h>
#include <bio.h>
#include <draw.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include "imagefile.h"
enum {

View File

@ -3,7 +3,7 @@
#include <lib9.h>
#include <bio.h>
#include <draw.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include "imagefile.h"

View File

@ -2,7 +2,7 @@
#include <lib9.h>
#include <draw.h>
#include <memdraw.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <bio.h>
#include "imagefile.h"

View File

@ -2,7 +2,7 @@
#include <lib9.h>
#include <draw.h>
#include <memdraw.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <bio.h>
#include "imagefile.h"

View File

@ -2,7 +2,7 @@
#include <lib9.h>
#include <draw.h>
#include <memdraw.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <bio.h>
#include <flate.h>
#include "imagefile.h"

View File

@ -2,7 +2,7 @@
#include <lib9.h>
#include <draw.h>
#include <memdraw.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <bio.h>
#include "imagefile.h"

View File

@ -5,7 +5,7 @@
#include <lib9.h>
#include <draw.h>
#include <memdraw.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <bio.h>
#include <flate.h>
#include "imagefile.h"

View File

@ -25,7 +25,7 @@
#include <plumb.h>
#include "dat.h"
#include "fns.h"
#include <jehanne/ctype.h>
#include <chartypes.h>
char Ebadwr[] = "bad rectangle in wctl request";
char Ewalloc[] = "window allocation failed in wctl request";

View File

@ -1,7 +1,7 @@
#include <u.h>
#include <lib9.h>
#include <envvars.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <draw.h>
#include <event.h>
#include <keyboard.h>

View File

@ -9,7 +9,7 @@
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <bio.h>
/*

View File

@ -21,7 +21,7 @@
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <9P2000.h> /* for %M */
#include <String.h>

View File

@ -13,7 +13,7 @@
#include <u.h>
#include <lib9.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#define SIZE 8000

View File

@ -26,7 +26,7 @@
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <9P2000.h>
#include <thread.h>
#include <9p.h>

View File

@ -25,7 +25,7 @@
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <thread.h>
#include <9P2000.h>
#include <9p.h>

View File

@ -39,7 +39,7 @@
#include "cons.h"
#include <jehanne/ctype.h>
#include <chartypes.h>
int wraparound = 1;
int originrelative = 0;

View File

@ -1,7 +1,7 @@
#include <u.h>
#include <lib9.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <disk.h>
static Disk*

View File

@ -9,7 +9,7 @@
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <ip.h>
char*

View File

@ -9,7 +9,7 @@
#include <u.h>
#include <lib9.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <ip.h>
static Ipifc**

View File

@ -9,7 +9,7 @@
#include <u.h>
#include <libc.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
static int nettrans(const char*, char*, int na, char*, int);

View File

@ -9,7 +9,7 @@
#include <u.h>
#include <libc.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include "fmtdef.h"
enum

View File

@ -9,7 +9,7 @@
#include <u.h>
#include <libc.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
uint8_t _ctype[256] =
{

View File

@ -9,7 +9,7 @@
#include <u.h>
#include <libc.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
int
jehanne_encodefmt(Fmt *f)

View File

@ -9,7 +9,7 @@
#include <u.h>
#include <libc.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
/*
* force a connection to hangup

View File

@ -9,7 +9,7 @@
#include <u.h>
#include <libc.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
/*
* make an address, add the defaults

View File

@ -9,7 +9,7 @@
#include <u.h>
#include <libc.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
/*
* This routine will convert to arbitrary precision

View File

@ -7,7 +7,7 @@
* in the LICENSE file.
*/
#include <jehanne/ctype.h>
#include <chartypes.h>
int
jehanne_toupper(int c)

View File

@ -24,7 +24,6 @@
"/sys/src/lib/plumb/",
"/sys/src/lib/regexp/",
"/sys/src/lib/sec/",
"/sys/src/lib/stdio/",
"/sys/src/lib/thread/",
"/sys/src/lib/posix/"
]

View File

@ -8,7 +8,7 @@
*/
#include <u.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
/*
* return ndb attribute type of an ip name

View File

@ -10,7 +10,7 @@
#include <u.h>
#include <lib9.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <ndb.h>
#include "ndbhf.h"

View File

@ -10,7 +10,7 @@
#include <u.h>
#include <lib9.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <ndb.h>
Ndb*

View File

@ -10,7 +10,7 @@
#include <u.h>
#include <lib9.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <ndb.h>
#include "ndbhf.h"

View File

@ -11,7 +11,7 @@
#include <lib9.h>
#include <envvars.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <ndb.h>
#include "ndbhf.h"

View File

@ -10,7 +10,7 @@
#include <u.h>
#include <lib9.h>
#include <bio.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
#include <ndb.h>
#include "ndbhf.h"

View File

@ -1,7 +1,7 @@
#include "os.h"
#include <mp.h>
#include <libsec.h>
#include <jehanne/ctype.h>
#include <chartypes.h>
extern void jacobian_affine(mpint *p,
mpint *X, mpint *Y, mpint *Z);

View File

@ -1,118 +0,0 @@
/*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, propagated, or distributed except according to the terms contained
* in the LICENSE file.
*/
/*
* pANS stdio.h
*/
/*
* According to X3J11, there is only one i/o buffer
* and it must not be occupied by both input and output data.
* If rp<wp, we must have state==RD and
* if wp<rp, we must have state==WR, so that getc and putc work correctly.
* On open, rp, wp and buf are set to 0, so first getc or putc will call _IO_getc
* or _IO_putc, which will allocate the buffer.
* If setvbuf(., ., _IONBF, .) is called, bufl is set to 0 and
* buf, rp and wp are pointed at unbuf.
* If setvbuf(., ., _IOLBF, .) is called, _IO_putc leaves wp and rp pointed at the
* end of the buffer so that it can be called on each putc to check whether it's got
* a newline. This nonsense is in order to avoid impacting performance of the other
* buffering modes more than necessary -- putting the test in putc adds many
* instructions that are wasted in non-_IOLBF mode:
* #define putc(c, f) (_IO_ctmp=(c),\
* (f)->wp>=(f)->rp || (f)->flags&LINEBUF && _IO_ctmp=='\n'\
* ?_IO_putc(_IO_ctmp, f)\
* :*(f)->wp++=_IO_ctmp)
*
*/
typedef struct{
int fd; /* UNIX file pointer */
char flags; /* bits for must free buffer on close, line-buffered */
char state; /* last operation was read, write, position, error, eof */
char *buf; /* pointer to i/o buffer */
char *rp; /* read pointer (or write end-of-buffer) */
char *wp; /* write pointer (or read end-of-buffer) */
char *lp; /* actual write pointer used when line-buffering */
long bufl; /* actual length of buffer */
char unbuf[1]; /* tiny buffer for unbuffered io (used for ungetc?) */
}FILE;
typedef long fpos_t;
#ifndef NULL
#define NULL 0
#endif
/*
* Third arg of setvbuf
*/
#define _IOFBF 1 /* block-buffered */
#define _IOLBF 2 /* line-buffered */
#define _IONBF 3 /* unbuffered */
#define BUFSIZ 4096 /* size of setbuf buffer */
#define EOF (-1) /* returned on end of file */
#define FOPEN_MAX 128 /* max files open */
#define FILENAME_MAX BUFSIZ /* silly filename length */
#define L_tmpnam 20 /* sizeof "/tmp/abcdefghij9999 */
#define SEEK_CUR 1
#define SEEK_END 2
#define SEEK_SET 0
#define TMP_MAX 64 /* very hard to set correctly */
#define stderr (&_IO_stream[2])
#define stdin (&_IO_stream[0])
#define stdout (&_IO_stream[1])
#define _IO_CHMASK 0377 /* mask for 8 bit characters */
FILE *tmpfile(void);
char *tmpnam(char *);
int fclose(FILE *);
int fflush(FILE *);
FILE *fopen(const char *, const char *);
FILE *freopen(const char *, const char *, FILE *);
void setbuf(FILE *, char *);
int setvbuf(FILE *, char *, int, int32_t);
int fprintf(FILE *, const char *, ...);
int fscanf(FILE *, const char *, ...);
int printf(const char *, ...);
int scanf(const char *, ...);
int sprintf(char *, const char *, ...);
int sscanf(const char *, const char *, ...);
int vfprintf(FILE *, const char *, va_list);
int vprintf(const char *, va_list);
int vsprintf(char *, const char *, va_list);
int vfscanf(FILE *, const char *, va_list);
int fgetc(FILE *);
char *fgets(char *, int, FILE *);
int fputc(int, FILE *);
int fputs(const char *, FILE *);
int getc(FILE *);
#define getc(f) ((f)->rp>=(f)->wp?_IO_getc(f):*(f)->rp++&_IO_CHMASK)
int _IO_getc(FILE *f);
int getchar(void);
#define getchar() getc(stdin)
char *gets(char *);
int putc(int, FILE *);
#define putc(c, f) ((f)->wp>=(f)->rp?_IO_putc(c, f):(*(f)->wp++=c)&_IO_CHMASK)
int _IO_putc(int, FILE *);
int putchar(int);
#define putchar(c) putc(c, stdout)
int puts(const char *);
int ungetc(int, FILE *);
int32_t fread(void *, int32_t, int32_t, FILE *);
int32_t fwrite(const void *, int32_t, int32_t, FILE *);
int fgetpos(FILE *, fpos_t *);
int fseek(FILE *, int32_t, int);
int fsetpos(FILE *, const fpos_t *);
int32_t ftell(FILE *);
void rewind(FILE *);
void clearerr(FILE *);
int feof(FILE *);
int ferror(FILE *);
void perror(const char *);
extern FILE _IO_stream[FOPEN_MAX];
FILE *sopenr(const char *);
FILE *sopenw(void);
char *sclose(FILE *);
char *dtoa(double, int, int, int*, int*, char**);
void freedtoa(char*);

View File

@ -1,35 +0,0 @@
/*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this