source: trunk/src/win32k/kKrnlLib/include/d16crt.h

Last change on this file was 8144, checked in by bird, 24 years ago

Initial coding..

File size: 1.4 KB
Line 
1/* $Id: d16crt.h,v 1.1 2002-03-31 19:30:40 bird Exp $
2 *
3 * Moved all the crt replacements used by the 16-bit part into one file.
4 *
5 * Copyright (c) 1998-2002 knut st. osmundsen (bird@anduin.net)
6 *
7 * Project Odin Software License can be found in LICENSE.TXT
8 *
9 */
10
11
12#ifndef _dev16crt_h_
13#define _dev16crt_h_
14
15
16/* File an output replacements */
17HFILE fopen(const char * pszFilename, const char * pszIgnored);
18int fread(void * pvBuffer, unsigned short cbBlock, unsigned short cBlock, HFILE hFile);
19int fseek(HFILE hfile, signed long off, int iOrg);
20unsigned long fsize(HFILE hFile);
21int feof(HFILE hFile);
22char * fgets(char * psz, int num, HFILE hFile);
23
24/* C-library replacements and additions. */
25void * kmemcpy(char *psz1, const char *psz2, int cch);
26char * kstrstr(const char *psz1, const char *psz2);
27int kstrcmp(const char *psz1, const char *psz2);
28int kstrncmp(const char *psz1, const char *psz2, int cch);
29int kstrnicmp(const char *psz1, const char *psz2, int cch);
30int kstrlen(const char *psz);
31char * kstrcpy(char * pszTarget, const char * pszSource);
32char * kstrncpy(char * pszTarget, const char * pszSource, int cch);
33char * kstrcat(char * pszTarget, const char * pszSource);
34char * kstrtok(char * pszTarget, const char * pszToken);
35int kargncpy(char *pszTarget, const char *pszArg, unsigned cchMaxlen);
36
37#endif
Note: See TracBrowser for help on using the repository browser.