mescc-builtins.h (1793B)
1 /* -*-comment-start: "//";comment-end:""-*- 2 * GNU Mes --- Maxwell Equations of Software 3 * Copyright © 2022,2023 Timothy Sample <samplet@ngyro.com> 4 * Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org> 5 * 6 * This file is part of GNU Mes. 7 * 8 * GNU Mes is free software; you can redistribute it and/or modify it 9 * under the terms of the GNU General Public License as published by 10 * the Free Software Foundation; either version 3 of the License, or (at 11 * your option) any later version. 12 * 13 * GNU Mes is distributed in the hope that it will be useful, but 14 * WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with GNU Mes. If not, see <http://www.gnu.org/licenses/>. 20 */ 21 22 struct scm *getpid_ (); 23 struct scm *environ_ (struct scm *args); 24 struct scm *opendir_ (struct scm *args); 25 struct scm *closedir_ (struct scm *args); 26 struct scm *readdir_ (struct scm *args); 27 struct scm *pipe_ (); 28 struct scm *close_port (struct scm *port); 29 struct scm *seek (struct scm *port, struct scm *offset, struct scm *whence); 30 struct scm *chdir_ (struct scm *file_name); 31 struct scm *stat_ (struct scm *args); 32 struct scm *lstat_ (struct scm *args); 33 struct scm *rename_file (struct scm *old_name, struct scm *new_name); 34 struct scm *mkdir_ (struct scm *file_name); 35 struct scm *rmdir_ (struct scm *file_name); 36 struct scm *link_ (struct scm *old_name, struct scm *new_name); 37 struct scm *symlink_ (struct scm *old_name, struct scm *new_name); 38 struct scm *umask_ (struct scm *mode); 39 struct scm *utime_ (struct scm *file_name, struct scm *actime, struct scm *modtime); 40 struct scm *sleep_ (struct scm *seconds);