fix: update template, prevent double-spaced persisted kernel logs
This commit is contained in:
@@ -95,6 +95,17 @@ int ungetc(int c, FILE *stream);
|
||||
char *fgets(char *s, int size, FILE *stream);
|
||||
int fputs(const char *s, FILE *stream);
|
||||
|
||||
/* MontaukOS extension: non-blocking readiness probe for stdin.
|
||||
Returns 1 when a complete line is buffered, so a following fgets/fgetc on
|
||||
stdin returns without blocking; 0 otherwise. Partially typed input is kept.
|
||||
This is what a select()-style poll over stdin has to be built on -- stdio
|
||||
descriptors are not waitable kernel objects. */
|
||||
int montauk_stdin_ready(void);
|
||||
|
||||
/* Blocks until a complete line is buffered on stdin, then returns 1. Same
|
||||
buffer as montauk_stdin_ready(); nothing is consumed either way. */
|
||||
int montauk_stdin_wait(void);
|
||||
|
||||
void perror(const char *s);
|
||||
FILE *tmpfile(void);
|
||||
char *tmpnam(char *s);
|
||||
|
||||
Reference in New Issue
Block a user