save point

This commit is contained in:
2025-10-04 19:28:26 -04:00
parent 744aaf2bf8
commit c12dbce62c
21 changed files with 546 additions and 489 deletions

26
lib/fs.h Normal file
View File

@@ -0,0 +1,26 @@
/* Copyright (C) GCK
*
* This file is part of gcklib
*
* This project and file is licensed under the BSD-3-Clause licence.
* <https://opensource.org/licence/bsd-3-clause>
*/
#ifndef fs_H
#define fs_H
#include <stdio.h>
#include <sys/types.h>
char *fs_read(const char *path);
bool fs_exists(const char *path);
int fs_append(const char *path, const char *format, ...);
int fs_del(const char *path);
int fs_new(const char *path);
int fs_write(const char *path, const char *format, ...);
FILE *fs_temp();
#endif