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

📄 m_foil.c

📁 早期freebsd实现
💻 C
字号:
/* m_foil.c - foil search of .mh_profile */#include "../h/mh.h"#include <stdio.h>void m_foil (path)char   *path;{    register struct node *np;    defpath = context = "/dev/null";    if (path) {	np = m_defs = (struct node *) malloc (sizeof *np);	if (np == NULL)	    adios (NULLCP, "unable to allocate profile storage");	np -> n_name = getcpy ("Path");	np -> n_field = getcpy (path);	np -> n_context = 0;	np -> n_next = NULL;	if (mypath == NULL && (mypath = getenv ("HOME")) != NULL)	    mypath = getcpy (mypath);		    }}

⌨️ 快捷键说明

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