Category : C Source Code
Archive   : F2CSRC.ZIP
Filename : SFE.C

 
Output of file : SFE.C contained in archive : F2CSRC.ZIP
/* sequential formatted external common routines*/
#include "f2c.h"
#include "fio.h"

extern char *fmtbuf;

integer e_rsfe()
{ int n;
n=en_fio();
if (cf == stdout)
fflush(stdout);
else if (cf == stderr)
fflush(stderr);
fmtbuf=NULL;
return(n);
}
c_sfe(a) cilist *a; /* check */
{ unit *p;
if(a->ciunit >= MXUNIT || a->ciunit<0)
err(a->cierr,101,"startio");
p = &units[a->ciunit];
if(p->ufd==NULL && fk_open(SEQ,FMT,a->ciunit)) err(a->cierr,114,"sfe")
if(!p->ufmt) err(a->cierr,102,"sfe")
return(0);
}
integer e_wsfe()
{ return(e_rsfe());
}


  3 Responses to “Category : C Source Code
Archive   : F2CSRC.ZIP
Filename : SFE.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/