X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=nostdio.h;h=ed51758e65d02b1b0d12b233ed37161e2d3f430e;hb=a999c27c2ea2bb1e0c2a144cb34d484858a577d3;hp=770cf97987a609463cb6d28ca6078f493f8fe8e0;hpb=2b8f445551b321900fa7193fbbf591141fe6f60d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/nostdio.h b/nostdio.h index 770cf97..ed51758 100644 --- a/nostdio.h +++ b/nostdio.h @@ -1,7 +1,16 @@ +/* nostdio.h + * + * Copyright (c) 1987-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + /* * Strong denial of stdio - make all stdio calls (we can think of) errors */ -/* This is an 1st attempt to stop other include files pulling +/* This is a 1st attempt to stop other include files pulling in real . A more ambitious set of possible symbols can be found in sfio.h (inside an _cplusplus gard). @@ -28,6 +37,7 @@ struct _FILE; #undef fgetpos #undef fgets #undef fileno +#undef flockfile #undef fopen #undef fprintf #undef fputc @@ -38,6 +48,8 @@ struct _FILE; #undef fseek #undef fsetpos #undef ftell +#undef ftrylockfile +#undef funlockfile #undef fwrite #undef getc #undef getc_unlocked