📄 main.h
字号:
/* Copyright (c) 1985 Ceriel J.H. Jacobs *//* $Header: main.h,v 7.1 87/04/07 14:05:36 ceriel Exp $ */# ifndef _MAIN_# define PUBLIC extern# else# define PUBLIC# endifPUBLIC int nopipe; /* Not reading from pipe? */PUBLIC char * progname; /* Name of this program */PUBLIC int interrupt; /* Interrupt given? */PUBLIC int no_tty; /* output not to a terminal, behave like cat */int main();/* * int main(argc,argv) * int argc; Argument count * char *argv[]; The arguments * * Main program. */int opentemp();/* * int opentemp(i) * int i; Either 0 or 1, indicates which temporary to open * * Returns a file descriptor for the temporary file, or panics if * it couldn't open one. */int catchdel();/* * int catchdel(); * * interrupt handler. Does not return a value, but PCC has some * difficulty with the type pointer to function returning void. * This routine only sets a flag indicating that there was an interrupt. */int quit();/* * int quit(); * * Quit signal handler. Also used for normal exits. * It resets the terminal and exits */VOID panic();/* * void panic(str) * char *str; Reason for panic * * Panic, but at least tell the user why. */# ifdef SIGTSTPVOID suspend();/* * void suspend() * * Suspends this process */# endif# undef PUBLIC
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -