prcutil4.c

来自「T-kernel 的extension源代码」· C语言 代码 · 共 42 行

C
42
字号
/* *---------------------------------------------------------------------- *    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. * *---------------------------------------------------------------------- *//* *	prcutil4.c (proc) * *	Kernel utility *	Process management related */#include "call.h"#include <sys/util.h>/* * Obtain process space ID (LSID) */EXPORT UW GetLSID(PINFO *pinfo){	return (UW)CallKernelFunc(__CommArea->GetLSID, pinfo, 0);}/* * Obtain process unique space table */EXPORT VP GetUATB(UW lsid){	return (VP)CallKernelFunc(__CommArea->GetUATB, lsid, 0);}

⌨️ 快捷键说明

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