���诳��源�6���耍�x86��:

#define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \
          type5,arg5,type6,arg6) \
type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5,type6 arg6) \
{ \
long __res; \
__asm__ volatile ("push %%ebp ; movl %%eax,%%ebp ; movl %1,%%eax ; int $0x80 ; pop %%ebp" \
        : "=a" (__res) \
        : "i" (__NR_##name),"b" ((long)(arg1)),"c" ((long)(arg2)), \
          "d" ((long)(arg3)),"S" ((long)(arg4)),"D" ((long)(arg5)), \
          "0" ((long)(arg6))); \
__syscall_return(type,__res); \
}

�� �� wangyxcti (���吖���) �拇������到: ��
: 系统���������源�5������么?���牵�
: void  *  mmap(void *start, size_t length, int prot , int flags, int fd,
:        off_t offset);��么���停�
: ...................

--

�� ��源:��BBS 水木�华站 smth.org��[FROM: 202.108.132.*]