Add getpgid() placeholder for Minix

This commit is contained in:
Lassi Kortela 2019-10-14 03:05:01 +03:00
parent 6740eaf611
commit 168555048a
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#include <errno.h>
#include <math.h>
#include <setjmp.h>
#include <stdarg.h>
@ -8,6 +9,13 @@
#include "scheme.h"
pid_t getpgid(pid_t pid)
{
(void)pid;
errno = ENOSYS;
return (pid_t)-1;
}
char *get_exename(char *buf, size_t size)
{
(void)buf;

View File

@ -19,6 +19,8 @@
#include "scheme.h"
pid_t getpgid(pid_t pid);
static value_t dirsym;
struct fltype *dirtype;