Move e_pid and e_pgid to libprocess, Add get_self_pid () syscall
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m13s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m13s
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
#include "arena_alloc.h"
|
||||
#include "gapbuffer.h"
|
||||
#include "mprintf.h"
|
||||
#include "self.h"
|
||||
#include "walloc.h"
|
||||
#include <arena.h>
|
||||
#include <filewriter.h>
|
||||
@@ -11,6 +10,7 @@
|
||||
#include <malloc.h>
|
||||
#include <path.h>
|
||||
#include <printf.h>
|
||||
#include <process_self.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
@@ -231,7 +231,7 @@ void edit_start (const char* volume, const char* file_path, const char* text, si
|
||||
(int)(editor.cursor.line - editor.row_offset) + 1,
|
||||
(int)(editor.cursor.col - editor.col_offset) + 1 + (int)gutter_width);
|
||||
|
||||
mail_send (e_pgid, backbuffer, bbptr - backbuffer);
|
||||
mail_send (process_get_exec_pgid (), backbuffer, bbptr - backbuffer);
|
||||
|
||||
uint8_t ch = 0;
|
||||
mail_receive (&ch, 1);
|
||||
|
||||
Reference in New Issue
Block a user