mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 00:42:44 +00:00 
			
		
		
		
	
		
			
				
	
	
	
	
		
			546 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			546 B
		
	
	
	
	
	
	
	
Name
set_process_name - change the process name
Synopsis
#include <unistd.h>
int set_process_name(const char* name, size_t name_length);
Description
set_process_name() changes the name of the calling process to the string name with length name_length.
Pledge
In pledged programs, the proc promise is required for this system call.
Errors
- EFAULT:- nameis not in readable memory.
- ENAMETOOLONG:- name_lengthis too long.
