source: Include/crt.sbp@ 72

Last change on this file since 72 was 1, checked in by (none), 18 years ago
File size: 1.6 KB
Line 
1'crt.sbp
2
3#ifndef _INC_CRT
4#define _INC_CRT
5
6Declare Function _beginthread cdecl Lib "msvcrt" (start_address As VoidPtr, stack_size As DWord, arglist As VoidPtr) As HANDLE
7Declare Function _beginthreadex cdecl Lib "msvcrt" (
8 security As *SECURITY_ATTRIBUTES,
9 stack_size As DWord,
10 start_address As VoidPtr,
11 arglist As VoidPtr,
12 initflag As DWord,
13 ByRef thrdaddr As DWord) As HANDLE
14Declare Sub _endthread cdecl Lib "msvcrt" ()
15Declare Sub _endthreadex cdecl Lib "msvcrt" (retval As DWord)
16
17Declare Function strstr cdecl Lib "msvcrt" (s1 As LPSTR, s2 As LPSTR) As LPSTR
18Declare Function memmove cdecl Lib "msvcrt" (dest As VoidPtr, src As VoidPtr, count As SIZE_T) As VoidPtr
19Declare Function _mbsstr cdecl Lib "msvcrt" (s1 As LPSTR, s2 As LPSTR) As LPSTR
20
21Declare Function memcmp CDecl Lib "msvcrt" (buf1 As BytePtr, buf2 As BytePtr, c As SIZE_T) As Long
22Declare Function memicmp CDecl Lib "msvcrt" Alias "_memicmp" (buf1 As BytePtr, buf2 As BytePtr, c As SIZE_T) As Long
23
24TypeDef va_list = VoidPtr
25
26Declare Function sprintf CDecl Lib "msvcrt" (buffer As PSTR, format As PCSTR, ...) As Long
27Declare Function _snprintf CDecl Lib "msvcrt" (buffer As PSTR, count As SIZE_T, format As PCSTR, ...) As Long
28Declare Function _scprintf CDecl Lib "msvcrt" (format As PCSTR, ...) As Long
29Declare Function vsprintf CDecl Lib "msvcrt" (buffer As PSTR, format As PCSTR, argptr As va_list) As Long
30Declare Function _vsnprintf CDecl Lib "msvcrt" (buffer As PSTR, count As SIZE_T, format As PCSTR, argptr As va_list) As Long
31Declare Function _vscprintf CDecl Lib "msvcrt" (format As PCSTR, argptr As va_list) As Long
32
33#endif '_INC_CRT
Note: See TracBrowser for help on using the repository browser.