3a12301a25
* lib/linux/chdir.c: New file. * lib/linux/fcntl.c: New file. * lib/linux/fstat.c: New file. * lib/linux/getdents.c: New file. * lib/linux/getegid.c: New file. * lib/linux/geteuid.c: New file. * lib/linux/getgid.c: New file. * lib/linux/getpid.c: New file. * lib/linux/getppid.c: New file. * lib/linux/getrusage.c: New file. * lib/linux/getuid.c: New file. * lib/linux/kill.c: New file. * lib/linux/link.c: New file. * lib/linux/lstat.c: New file. * lib/linux/mkdir.c: New file. * lib/linux/nanosleep.c: New file. * lib/linux/pipe.c: New file. * lib/linux/rename.c: New file. * lib/linux/setgid.c: New file. * lib/linux/settimer.c: New file. * lib/linux/setuid.c: New file. * lib/linux/signal.c: New file. * lib/linux/sigprogmask.c: New file. * lib/linux/gnu.c: Include them. (chdir, fcntl, fstat, getdents, getegid, geteuid, getgid, getpid, getppid, getrusage, getuid, kill, link, lstat, mkdir, munmap, nanosleep, pipe, rename, setgid, settimer, setuid, signal, sigprogmask): Remove.
26 lines
889 B
C
26 lines
889 B
C
/* -*-comment-start: "//";comment-end:""-*-
|
|
* GNU Mes --- Maxwell Equations of Software
|
|
* Copyright © 2018,2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
|
*
|
|
* This file is part of GNU Mes.
|
|
*
|
|
* GNU Mes is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 3 of the License, or (at
|
|
* your option) any later version.
|
|
*
|
|
* GNU Mes is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
pid_t
|
|
getpid ()
|
|
{
|
|
return _sys_call (SYS_getpid);
|
|
}
|