home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. CD ROM (Annual Premium Edition)
/
premium.zip
/
premium
/
WINUTIL2
/
WSHEL202.ZIP
/
ADD_CMDS.ZIP
/
WSLIB.H
< prev
next >
Wrap
Text File
|
1991-11-18
|
1KB
|
34 lines
#ifndef WSLIB_H
#define WSLIB_H
#include <stdio.h>
/* returns true if path_name is a directory or drive name */
BOOL FAR PASCAL IsDirectory (LPSTR path_name);
/* retrieves a token from a string. Returns consecutive tokens from string */
/* if str is NULL. Returns a pointer to a token or NULL if no more tokens */
LPSTR FAR PASCAL lstrtok (LPSTR str);
/* the following are far versions of the standard C routines */
LPSTR FAR PASCAL lstrstr (LPSTR strSrc, LPSTR strPat);
int FAR PASCAL lstrncmp (LPSTR str1, LPSTR str2, long len);
void FAR PASCAL lstrncpy (LPSTR str1, LPSTR str2, long maxlen);
LPSTR FAR PASCAL lstrpcpy (LPSTR str1, LPSTR str2);
LPSTR FAR PASCAL lstrchr (LPSTR str, char c);
void FAR PASCAL lmemcpy (LPSTR szDst, LPSTR szSrc, LONG lLen);
void FAR PASCAL lbmemcpy (LPSTR szDst, LPSTR szSrc, LONG lLen);
FILE FAR * FAR PASCAL lfopen (LPSTR szName, LPSTR szAttribs);
LPSTR FAR PASCAL lfgets (LPSTR szBuff, int iMax, FILE FAR *lpfFile);
int FAR PASCAL lfclose (FILE FAR *lpfFile);
/* yields control to other applications */
void FAR PASCAL YieldToOthers ();
#define IC_INC 1
#define IC_DEC 2
int FAR PASCAL InstanceCount (int iDir);
#endif