代码搜索:waitpid
找到约 797 项符合「waitpid」的源代码
代码结果 797
www.eeworm.com/read/421459/6311390
c shell1.c
#include "apue.h"
#include
int
main(void)
{
char buf[MAXLINE]; /* from apue.h */
pid_t pid;
int status;
printf("%% "); /* print prompt (printf requires %% to print %) */
while (fg
www.eeworm.com/read/421459/6311427
7 fig1.7
#include "apue.h"
#include
int
main(void)
{
char buf[MAXLINE]; /* from apue.h */
pid_t pid;
int status;
printf("%% "); /* print prompt (printf requires %% to print %) */
while (fg
www.eeworm.com/read/494691/6360195
c shell1.c
#include
#include
#include "ourhdr.h"
int
main(void)
{
char buf[MAXLINE];
pid_t pid;
int status;
printf("%% "); /* print prompt (printf requires %% to print %) */
wh
www.eeworm.com/read/490627/6449931
c shell1.c
#include
#include
#include "ourhdr.h"
int
main(void)
{
char buf[MAXLINE];
pid_t pid;
int status;
printf("%% "); /* print prompt (printf requires %% to print %) */
wh
www.eeworm.com/read/476738/6749147
c shell1.c
#include "apue.h"
#include
int
main(void)
{
char buf[MAXLINE]; /* from apue.h */
pid_t pid;
int status;
printf("%% "); /* print prompt (printf requires %% to print %) */
while (fg
www.eeworm.com/read/476738/6749184
7 fig1.7
#include "apue.h"
#include
int
main(void)
{
char buf[MAXLINE]; /* from apue.h */
pid_t pid;
int status;
printf("%% "); /* print prompt (printf requires %% to print %) */
while (fg
www.eeworm.com/read/476848/6751854
c shell1.c
#include
#include
#include "ourhdr.h"
int
main(void)
{
char buf[MAXLINE];
pid_t pid;
int status;
printf("%% "); /* print prompt (printf requires %% to print %) */
wh
www.eeworm.com/read/264377/11317542
c shell1.c
#include "apue.h"
#include
int
main(void)
{
char buf[MAXLINE]; /* from apue.h */
pid_t pid;
int status;
printf("%% "); /* print prompt (printf requires %% to print %) */
while (fg
www.eeworm.com/read/264377/11317603
7 fig1.7
#include "apue.h"
#include
int
main(void)
{
char buf[MAXLINE]; /* from apue.h */
pid_t pid;
int status;
printf("%% "); /* print prompt (printf requires %% to print %) */
while (fg
www.eeworm.com/read/408584/11380239
c sigchldwaitpid.c
#include "unp.h"
void
sig_chld(int signo)
{
pid_t pid;
int stat;
while ( (pid = waitpid(-1, &stat, WNOHANG)) > 0) {
printf("child %d terminated\n", pid);
}
return;
}