代码搜索结果

找到约 10,000 项符合 H 的代码

string.h

#ifndef _STRING_H_ #define _STRING_H_ #ifndef NULL #define NULL ((void *) 0) #endif #ifndef _SIZE_T #define _SIZE_T typedef unsigned int size_t; #endif extern char * strerror(int errno); /* * Thi

signal.h

#ifndef _SIGNAL_H #define _SIGNAL_H #include typedef int sig_atomic_t; typedef unsigned int sigset_t; /* 32 bits */ #define _NSIG 32 #define NSIG _NSIG #define SIGHUP

a.out.h

#ifndef _A_OUT_H #define _A_OUT_H #define __GNU_EXEC_MACROS__ struct exec { unsigned long a_magic; /* Use macros N_MAGIC, etc for access */ unsigned a_text; /* length of text, in bytes */ uns

fcntl.h

#ifndef _FCNTL_H #define _FCNTL_H #include /* open/fcntl - NOCTTY, NDELAY isn't implemented yet */ #define O_ACCMODE 00003 #define O_RDONLY 00 #define O_WRONLY 01 #define O_RDWR

errno.h

#ifndef _ERRNO_H #define _ERRNO_H /* * ok, as I hadn't got any other source of information about * possible error numbers, I was forced to use the same numbers * as minix. * Hopefully these are p

memory.h

/* * NOTE!!! memcpy(dest,src,n) assumes ds=es=normal data segment. This * goes for all kernel functions (ds=es=kernel space, fs=local data, * gs=null), as well as for all well-behaving user prog

segment.h

extern inline unsigned char get_fs_byte(const char * addr) { unsigned register char _v; __asm__ ("movb %%fs:%1,%0":"=r" (_v):"m" (*addr)); return _v; } extern inline unsigned short get_fs_word(co

resource.h

//{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by TestZipDlg.rc // #define IDD_TESTZIPDLG_DIALOG 102 #define IDR_MAINFRAME 128 #d

system.h

#define move_to_user_mode() \ __asm__ ("movl %%esp,%%eax\n\t" \ "pushl $0x17\n\t" \ "pushl %%eax\n\t" \ "pushfl\n\t" \ "pushl $0x0f\n\t" \ "pushl $1f\n\t" \ "iret\n" \ "1:\tmovl $0x17,%%eax\n\t

io.h

#define outb(value,port) \ __asm__ ("outb %%al,%%dx"::"a" (value),"d" (port)) #define inb(port) ({ \ unsigned char _v; \ __asm__ volatile ("inb %%dx,%%al":"=a" (_v):"d" (port)); \ _v; \ }) #define