my_nosys.h
来自「这是一个MYSQL的ODBC接口的源码」· C头文件 代码 · 共 42 行
H
42 行
/* Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB This file is public domain and comes with NO WARRANTY of any kind *//* Header to remove use of my_functions in functions where we need speed and where calls to posix functions should work*/#ifndef _my_nosys_h#define _my_nosys_h#ifdef __cplusplusextern "C" {#endif#ifndef __MY_NOSYS__#define __MY_NOSYS__#ifdef MSDOS#include <io.h> /* Get prototypes for read()... */#endif#ifndef HAVE_STDLIB_H#include <malloc.h>#endif#define my_read(a,b,c,d) my_quick_read(a,b,c,d)#define my_write(a,b,c,d) my_quick_write(a,b,c)#define my_seek(a,b,c,d) my_quick_seek(a,b,c)extern uint my_quick_read(File Filedes,byte *Buffer,uint Count,myf myFlags);extern uint my_quick_write(File Filedes,const byte *Buffer,uint Count);extern ulong my_quick_seek(File fd,ulong pos,int whence);#if !defined(SAFEMALLOC) && defined(USE_HALLOC)#define my_malloc(a,b) halloc(a,1)#define my_no_flags_free(a) hfree(a)#endif#endif /* __MY_NOSYS__ */#ifdef __cplusplus}#endif#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?