📄 userinfo.c
字号:
/* *---------------------------------------------------------------------- * T-Kernel / Standard Extension * * Copyright (C) 2006 by Ken Sakamura. All rights reserved. * T-Kernel / Standard Extension is distributed * under the T-License for T-Kernel / Standard Extension. *---------------------------------------------------------------------- * * Version: 1.00.00 * Released by T-Engine Forum(http://www.t-engine.org) at 2006/8/11. * *---------------------------------------------------------------------- *//* * userinfo.C (proc) * * Peripheral kernel: user information */#include <basic.h>#include <sys/pinfo.h>/*---------------------------------------------------------------------- Initial definitions of user information Preconditions of one user----------------------------------------------------------------------*/EXPORT UINFO UserInfo = { { /* P_USER */ { 0x0000 }, /* User name */ { 0x0000 }, /* Group name 1 */ { 0x0000 }, /* Group name 2 */ { 0x0000 }, /* Group name 3 */ { 0x0000 }, /* Group name 4 */ 15, /* User level */ 15 /* Network user level */ }, { /* DA_MODE */ F_OWNACC, /* Owner access mode */ 0xfff, /* Group access level */ 0xfff, /* General access level */ 0, /* Group number */ {0xfff, 0xfff, 0xfff, 0xfff} /* Group access level */ }};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -