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

📄 faces.h

📁 这是一个同样来自贝尔实验室的和UNIX有着渊源的操作系统, 其简洁的设计和实现易于我们学习和理解
💻 H
字号:
enum	/* face strings */{	Suser,	Sdomain,	Sshow,	Sdigest,	Nstring};enum{	Facesize = 48,};typedef struct Face		Face;typedef struct Facefile	Facefile;struct Face{	Image	*bit;		/* unless there's an error, this is file->image */	Image	*mask;	/* unless there's an error, this is file->mask */	char		*str[Nstring];	int		recent;	ulong	time;	Tm		tm;	int		unknown;	Facefile	*file;};/* * Loading the files is slow enough on a dial-up line to be worth this trouble */struct Facefile{	Image	*image;	Image	*mask;	ulong	mtime;	ulong	rdtime;	int		ref;	char		*file;	Facefile	*next;};extern char	date[];extern char	*maildir;extern char	**maildirs;extern int	nmaildirs;Face*	nextface(void);void	findbit(Face*);void	freeface(Face*);void	initplumb(void);void	killall(char*);void	showmail(Face*);void	delete(char*, char*);void	freefacefile(Facefile*);Face*	dirface(char*, char*);void	resized(void);int	alreadyseen(char*);ulong	dirlen(char*);void	*emalloc(ulong);void	*erealloc(void*, ulong);char	*estrdup(char*);char	*findfile(Face*, char*, char*);void	addmaildir(char*);

⌨️ 快捷键说明

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