📄 x_close.c,v
字号:
head 1.1;access;symbols;locks dls:1.1; strict;comment @ * @;1.1date 97.09.21.19.29.03; author dls; state Dist;branches;next ;desc@@1.1log@pre-3e code@text@/* x_close.c - x_close */#include <conf.h>#include <kernel.h>/*------------------------------------------------------------------------ * x_close - (command close) close a device given its id *------------------------------------------------------------------------ */COMMAND x_close(stdin, stdout, stderr, nargs, args)int stdin, stdout, stderr, nargs;char *args[];{ if (nargs != 2) { fprintf(stderr, "use: close device-number\n"); return(SYSERR); } return(close(atoi(args[1])));}@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -