📄 ndet_wait.c
字号:
#ifndef lint#ifdef sccsstatic char sccsid[] = "@(#)ndet_wait.c 1.1 92/07/30 Copyr 1985 Sun Micro";#endif#endif/* * Copyright (c) 1985 by Sun Microsystems, Inc. *//* * Ndet_wait.c - Implement wait3 specific calls. */#include <sunwindow/ntfy.h>#include <sunwindow/ndet.h>#include <errno.h>extern errno;pkg_private intndet_check_pid(pid) int pid;{ if (kill(pid, 0)) { ntfy_set_errno((errno == ESRCH)? NOTIFY_SRCH: NOTIFY_INVAL); return(-1); } return(0);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -