📄 en
字号:
@c ----------------------------------------------------------------------
@node enable, dos
@heading @code{enable}
@subheading Syntax
@example
#include <dos.h>
int enable(void);
@end example
@subheading Description
This function enables interrupts.
@xref{disable}
@subheading Return Value
Returns nonzero if the interrupts were already enabled, zero if they
had been disabled before this call.
@subheading Example
@example
int ints_were_enabled;
ints_were_enabled = enable();
. . . do some stuff . . .
if (!ints_were_enabled)
disable();
@end example
@c ----------------------------------------------------------------------
@node endgrent, unix
@heading @code{endgrent}
@subheading Syntax
@example
#include <grp.h>
void endgrent(void);
@end example
@subheading Description
This function should be called after all calls to getgrent, getgrgid, or
getgrnam.
@subheading Return Value
None.
@subheading Example
@xref{getgrent}
@c ----------------------------------------------------------------------
@node endmntent, unix
@heading @code{endmntent}
@subheading Syntax
@example
#include <mntent.h>
int endmntent(FILE *filep);
@end example
@subheading Description
This function should be called after the last call to getmntent (@pxref{getmntent}).
@subheading Return Value
This function always returns one.
@c ----------------------------------------------------------------------
@node endpwent, unix
@heading @code{endpwent}
@subheading Syntax
@example
#include <pwd.h>
void endpwent(void);
@end example
@subheading Description
This function should be called after the last call to getpwent (@pxref{getpwent}).
@subheading Return Value
None.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -