Category : Files from Magazines
Archive   : CUJ9208.ZIP
Filename : 1008074A

 
Output of file : 1008074A contained in archive : CUJ9208.ZIP
/*
Copyright (c) Robert Ramey 1991. All Rights Reserved
*/

#include
#include
#include "psort.h"
#include "os.h"
/*********************************************************************
os_init - initialize input/output
**********************************************************************/
os_init(argc, argv)
int argc;
char *argv[];
{
if(signal(SIGINT, SIG_DFL) == SIG_ERR)
error("Couldn't establish ^C handler");
}
/*********************************************************************
error - takes control when aborted with ^C
**********************************************************************/
void
error(msg)
char *msg;
{
fputs(msg, stderr);
exit(1);
}
/*********************************************************************
cbreak - takes control when aborted with ^C
**********************************************************************/
/*
void
cbreak()
{
fputs("Aborted by Operator", stderr);
exit(3);
}
*/
/*********************************************************************
os_mavl - figure how much memory can be allocated
**********************************************************************/
/*
MEM_SIZE
os_mavl()
{
return (MEM_SIZE)_bios_memsize() / K;
}
*/
/*********************************************************************
os_flength - returns number of bytes in file
**********************************************************************/
#include
FILE_SIZE
os_flength(fptr)
FILE *fptr;
{
return filelength(fileno(fptr));
}


  3 Responses to “Category : Files from Magazines
Archive   : CUJ9208.ZIP
Filename : 1008074A

  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/