Digital Research
This commit is contained in:
2020-11-06 18:50:37 +01:00
parent 621ed8ccaf
commit 31738079c4
8481 changed files with 1888323 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
/**************************************************************************
*
* f s c a n f F u n c t i o n
* -----------------------------
* Copyright 1982 by Digital Research Inc. All rights reserved.
*
* "fscanf" scans the given stream for items specified, and assigns
* them to user supplied variables (via pointers to these vars).
*
* Calling sequence:
* ret = fscanf(sp,fmt,p1,p2,...)
* Where:
* ret = the number of items successfully matched & assigned
* EOF returned if encountered on input
* sp -> (FILE *) stream pointer
* fmt -> a string specifying how to parse the input
* p1,p2,... -> where matched items get stored
*
*****************************************************************************/
#include <stdio.h>
WORD fscanf(sp,fmt,ptrs)
FILE *sp;
BYTE *fmt;
BYTE *ptrs;
{
return(_doscan(sp,fmt,&ptrs));
}