diff options
Diffstat (limited to 'source/include/acclib.h')
-rw-r--r-- | source/include/acclib.h | 156 |
1 files changed, 0 insertions, 156 deletions
diff --git a/source/include/acclib.h b/source/include/acclib.h index bf32373dc..267c73d25 100644 --- a/source/include/acclib.h +++ b/source/include/acclib.h @@ -145,23 +145,6 @@ extern const UINT8 AcpiGbl_Ctypes[]; #define isprint(c) (AcpiGbl_Ctypes[(unsigned char)(c)] & (_ACPI_LO | _ACPI_UP | _ACPI_DI | _ACPI_XS | _ACPI_PU)) #define isalpha(c) (AcpiGbl_Ctypes[(unsigned char)(c)] & (_ACPI_LO | _ACPI_UP)) -/* Error code */ - -#define EPERM 1 /* Operation not permitted */ -#define ENOENT 2 /* No such file or directory */ -#define EINTR 4 /* Interrupted system call */ -#define EIO 5 /* I/O error */ -#define EBADF 9 /* Bad file number */ -#define EAGAIN 11 /* Try again */ -#define ENOMEM 12 /* Out of memory */ -#define EACCES 13 /* Permission denied */ -#define EFAULT 14 /* Bad address */ -#define EBUSY 16 /* Device or resource busy */ -#define EEXIST 17 /* File exists */ -#define ENODEV 19 /* No such device */ -#define EINVAL 22 /* Invalid argument */ -#define EPIPE 32 /* Broken pipe */ -#define ERANGE 34 /* Math result not representable */ /* Strings */ @@ -176,16 +159,6 @@ strchr ( int ch); char * -strpbrk ( - const char *String, - const char *Delimiters); - -char * -strtok ( - char *String, - const char *Delimiters); - -char * strcpy ( char *DstString, const char *SrcString); @@ -247,12 +220,6 @@ memcpy ( ACPI_SIZE Count); void * -memmove ( - void *Dest, - const void *Src, - ACPI_SIZE Count); - -void * memset ( void *Dest, int Value, @@ -269,127 +236,4 @@ int toupper ( int c); -/* - * utprint - printf/vprintf output functions - */ -const char * -AcpiUtScanNumber ( - const char *String, - UINT64 *NumberPtr); - -const char * -AcpiUtPrintNumber ( - char *String, - UINT64 Number); - -int -vsnprintf ( - char *String, - ACPI_SIZE Size, - const char *Format, - va_list Args); - -int -snprintf ( - char *String, - ACPI_SIZE Size, - const char *Format, - ...); - -int -sprintf ( - char *String, - const char *Format, - ...); - -#ifdef ACPI_APPLICATION -#define SEEK_SET 0 -#define SEEK_CUR 1 -#define SEEK_END 2 - -/* - * NOTE: Currently we only need to update errno for file IOs. Other - * Clibrary invocations in ACPICA do not make descisions according to - * the errno. - */ -extern int errno; - -#ifndef EOF -#define EOF (-1) -#endif - -#define putchar(c) fputc(stdout, c) -#define getchar(c) fgetc(stdin) - -int -vprintf ( - const char *Format, - va_list Args); - -int -printf ( - const char *Format, - ...); - -int -vfprintf ( - FILE *File, - const char *Format, - va_list Args); - -int -fprintf ( - FILE *File, - const char *Format, - ...); - -FILE * -fopen ( - const char *Path, - const char *Modes); - -void -fclose ( - FILE *File); - -int -fread ( - void *Buffer, - ACPI_SIZE Size, - ACPI_SIZE Count, - FILE *File); - -int -fwrite ( - void *Buffer, - ACPI_SIZE Size, - ACPI_SIZE Count, - FILE *File); - -int -fseek ( - FILE *File, - long Offset, - int From); - -long -ftell ( - FILE *File); - -int -fgetc ( - FILE *File); - -int -fputc ( - FILE *File, - char c); - -char * -fgets ( - char *s, - ACPI_SIZE Size, - FILE *File); -#endif - #endif /* _ACCLIB_H */ |