Home
last modified time | relevance | path

Searched refs:mystdout (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/syscalls/dup2/
Ddup201.c77 int mystdout = 0; variable
90 {&mystdout, &badfd, EBADF, NULL},
92 {&mystdout, &maxfd, EBADF, NULL},
/external/libcups/tools/
Dippeveprinter.c6239 int mystdout = -1; /* File for stdout */ in process_job() local
6402 if ((mystdout = open(resource, O_WRONLY | O_CREAT | O_TRUNC, 0666)) >= 0) in process_job()
6412 if ((mystdout = create_job_file(job, line, sizeof(line), resource, "prn")) >= 0) in process_job()
6419 if ((mystdout = open(resource, O_WRONLY | O_CREAT | O_TRUNC, 0666)) >= 0) in process_job()
6424 else if ((mystdout = open(resource, O_WRONLY)) >= 0) in process_job()
6438 else if (!httpAddrConnect2(addrlist, &mystdout, 30000, &(job->cancel))) in process_job()
6448 …else if ((mystdout = create_job_file(job, line, sizeof(line), job->printer->directory, "prn")) >= … in process_job()
6453 if (mystdout < 0) in process_job()
6454 mystdout = open("/dev/null", O_WRONLY); in process_job()
6469 dup2(mystdout, 1); in process_job()
[all …]