mirror of
https://github.com/RGBCube/serenity
synced 2025-10-24 11:22:06 +00:00
The URLs of the form `help://man/<section>/<page>` link to another help page inside the help application. All previous relative page links are replaced by this new form. This doesn't change any behavior but it looks much nicer :^) Note that man doesn't handle these new links, but the previous relative links didn't work either.
536 B
536 B
Name
get_process_name - get the process name
Synopsis
#include <unistd.h>
int get_process_name(char* buffer, int buffer_length);
Description
get_process_name() places the current process name into the provided buffer.
Pledge
In pledged programs, the stdio promise is required for this system call.
Errors
EFAULT: the process name could not be copied into the buffer.ENAMETOOLONG:buffer_lengthis too short.