diff --git a/lib/m2/read.c b/lib/m2/read.c index 236e3c31..b1d911a1 100644 --- a/lib/m2/read.c +++ b/lib/m2/read.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright © 2019 Jan (janneke) Nieuwenhuizen + * Copyright © 2019,2020 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -15,7 +15,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * aSCM with GNU Mes. If not, see . + * along with GNU Mes. If not, see . */ #include @@ -23,9 +23,9 @@ #include #include -SCM -read (int filedes, void *buffer, SCM size) +long +read (int filedes, void *buffer, long size) { - SCM bytes = _sys_call3 (SYS_read, filedes, buffer, size); + long bytes = _sys_call3 (SYS_read, filedes, buffer, size); return bytes; }