⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mig_support.h

📁 一个C源代码分析器
💻 H
字号:
/* Copyright (C) 1993, 1994 Free Software Foundation, Inc.This file is part of the GNU C Library.The GNU C Library is free software; you can redistribute it and/ormodify it under the terms of the GNU Library General Public License aspublished by the Free Software Foundation; either version 2 of theLicense, or (at your option) any later version.The GNU C Library is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNULibrary General Public License for more details.You should have received a copy of the GNU Library General PublicLicense along with the GNU C Library; see the file COPYING.LIB.  Ifnot, write to the Free Software Foundation, Inc., 675 Mass Ave,Cambridge, MA 02139, USA.  *//* Useful declarations and support functions for MiG-generated stubs.  */#ifndef	_MACH_MIG_SUPPORT_H#define	_MACH_MIG_SUPPORT_H	1#include <mach/std_types.h>#include <mach/message.h>#include <sys/types.h>#include <string.h>/* MiG initialization.  */extern void __mig_init (void *__first);extern void mig_init (void *__first);/* Shorthand functions for vm_allocate and vm_deallocate on   mach_task_self () (and with ANYWHERE=1).  */extern void __mig_allocate (vm_address_t *__addr_p, vm_size_t __size);extern void mig_allocate (vm_address_t *__addr_p, vm_size_t __size);extern void __mig_deallocate (vm_address_t __addr, vm_size_t __size);extern void mig_deallocate (vm_address_t __addr, vm_size_t __size);/* Reply-port management support functions.  */extern void __mig_dealloc_reply_port (mach_port_t);extern void mig_dealloc_reply_port (mach_port_t);extern mach_port_t __mig_get_reply_port (void);extern mach_port_t mig_get_reply_port (void);extern void __mig_put_reply_port (mach_port_t);extern void mig_put_reply_port (mach_port_t);extern void __mig_reply_setup (const mach_msg_header_t *__request,			       mach_msg_header_t *__reply);extern void mig_reply_setup (const mach_msg_header_t *__request,			     mach_msg_header_t *__reply);/* Idiocy support function.  */extern __inline vm_size_t__mig_strncpy (char *__dst, const char *__src, vm_size_t __len){  return __stpncpy (__dst, __src, __len) - __dst;}extern __inline vm_size_t mig_strncpy (char *__dst, const char *__src, vm_size_t __len){  return __mig_strncpy (__dst, __src, __len);}#endif	/* mach/mig_support.h */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -