process.h

来自「操作系统源代码」· C头文件 代码 · 共 49 行

H
49
字号
/* Copyright (c) 1985 Ceriel J.H. Jacobs *//* $Header: process.h,v 7.1 87/04/07 14:06:16 ceriel Exp $ */# ifndef _PROCESS_# define PUBLIC extern# else# define PUBLIC# endif# include <setjmp.h>PUBLIC	jmp_buf	SetJmpBuf;PUBLIC	int DoneSetJmp;PUBLIC int	stdf;		/* input file descriptor */PUBLIC int	filecount;	/* index in filename table */PUBLIC char **	filenames;	/* the filenametable */PUBLIC char *	currentfile;	/* Name of current file */PUBLIC long	maxpos;		/* Size of file */VOID	visitfile();/* * void visitfile(fn) * char *fn;			name of file to be visited * * Opens the file "fn" and gives an error message if this fails. */VOID	processfiles();/* * void processfiles(n,argv) * int n;			number of files to be handled * char ** argv;		names of the files * * Does all the work according to the divide and conquer method */int	nextfile();/* * int nextfile(n) * int n; * * Visits n'th next file. If not there in argument list, return 1. * Otherwise return 0. */# undef PUBLIC

⌨️ 快捷键说明

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