tools/testing/selftests/pidfd/pidfd_exec_helper.c

Source file repositories/reference/linux-study-clean/tools/testing/selftests/pidfd/pidfd_exec_helper.c

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/pidfd/pidfd_exec_helper.c
Extension
.c
Size
177 bytes
Lines
13
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

int main(int argc, char *argv[])
{
	if (pause())
		_exit(EXIT_FAILURE);

	_exit(EXIT_SUCCESS);
}

Annotation

Implementation Notes