get_process_name(2) - SerenityOS man pages

#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

#See also