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

📄 gcrt0.c

📁 cygwin, 著名的在win32下模拟unix操作系统的东东
💻 C
字号:
/* gcrt0.c   Copyright 1998, 1999, 2000, 2001 Red Hat, Inc.This file is part of Cygwin.This software is a copyrighted work licensed under the terms of theCygwin license.  Please consult the file "CYGWIN_LICENSE" fordetails. */#include <sys/types.h>#include <stdlib.h>extern u_char etext asm ("etext");extern u_char eprol asm ("__eprol");extern void _mcleanup (void);extern void monstartup (u_long, u_long);void _monstartup (void) __attribute__((__constructor__));/* startup initialization for -pg support */void_monstartup (void){  static int called;  /* Guard against multiple calls that may happen if DLLs are linked     with profile option set as well. Addede side benefit is that it     makes profiling backward compatible (GCC used to emit a call to     _monstartup when compiling main with profiling enabled).  */  if (called++)    return;  monstartup ((u_long) &eprol, (u_long) &etext);  atexit (&_mcleanup);}asm (".text");asm ("__eprol:");

⌨️ 快捷键说明

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