squash! SCM / read.m2

This commit is contained in:
Jan (janneke) Nieuwenhuizen 2021-01-01 12:43:03 +01:00
parent a77903a113
commit f7c2b70c82
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
/* -*-comment-start: "//";comment-end:""-*-
* GNU Mes --- Maxwell Equations of Software
* Copyright © 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
* Copyright © 2019,2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
*
* 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 <http://www.gnu.org/licenses/>.
* along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
*/
#include <linux/syscall.h>
@ -23,9 +23,9 @@
#include <mes/lib.h>
#include <fcntl.h>
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;
}