mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 00:26:16 +03:00
debian autopkgtest instances (and maybe other test systems) will report a failure if messages are sent to stderr. Since these messages are diagnostic messages for the test suite, and not indicators of actual failure, they should go to stdout, not stderr.
13 lines
197 B
C
13 lines
197 B
C
#include <stdio.h>
|
|
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
#include "libgetpid.h"
|
|
|
|
int main() {
|
|
pid_t pid;
|
|
getpid_func();
|
|
pid = getpid();
|
|
printf(" getpid() -> %d\n", pid);
|
|
return 0;
|
|
}
|