Search results for “site:manpages.debian.org”

About 13 results

manpages.debian.org times(2)

times(2) — manpages-dev — Debian bookworm — Debian Manpages

times() stores the current process times in the struct tms that buf points to. The struct tms is as defined in <sys/times.h>: struct tms { clock_t tms_utime; /* user time */ clock_t tms_stime; /* system time */ clock_t tms_cutime; /* user time of children */ clock_t tms_cstime; /* system time of...

manpages.debian.org access(2)

access(2) — manpages-dev — Debian bookworm — Debian Manpages

access, faccessat, faccessat2 - check user's permissions for a file LIBRARY¶ Standard C library (libc, -lc) SYNOPSIS¶ #include <unistd.h> int access(const char *pathname, int mode); #include <fcntl.h> /* Definition of AT_* constants */ int faccessat(int dirfd, const char *pathname, int mode, int...

manpages.debian.org dlopen(3)

dlopen(3) — manpages-dev — Debian bookworm — Debian Manpages

dlclose, dlopen, dlmopen - open and close a shared object LIBRARY¶ Dynamic linking library (libdl, -ldl) SYNOPSIS¶ #include <dlfcn.h> void *dlopen(const char *filename, int flags); int dlclose(void *handle); #define _GNU_SOURCE void *dlmopen(Lmid_t lmid, const char *filename, int flags)...

manpages.debian.org ptrace(2)

ptrace(2) — manpages-dev — Debian bookworm — Debian Manpages

The ptrace() system call provides a means by which one process (the "tracer") may observe and control the execution of another process (the "tracee"), and examine and change the tracee's memory and registers. It is primarily used to implement breakpoint debugging and system call tracing. A tracee...

manpages.debian.org pidfd_open(2)

pidfd_open(2) — manpages-dev — Debian bookworm — Debian Manpages

pidfd_open - obtain a file descriptor that refers to a process LIBRARY¶ Standard C library (libc, -lc) SYNOPSIS¶ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h> int syscall(SYS_pidfd_open, pid_t pid, unsigned int flags); Note: glibc provides no wrapper for...

manpages.debian.org clock_settime(2)

clock_settime(2) — manpages-dev — Debian bookworm — Debian Manpages

int clock_getres(clockid_t clockid, struct timespec *_Nullable res); int clock_gettime(clockid_t clockid, struct timespec *tp); int clock_settime(clockid_t clockid, const struct timespec *tp); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): clock_getres(), clock_gettime()...