Take UTF-8 spaces into account for empty strings
[smenu.git] / fgetc.h
blob00b19ae861b3ad43d07970abf90427aa12d03793
1 /* ################################################################### */
2 /* Copyright 2015, Pierre Gentile (p.gen.progs@gmail.com) */
3 /* */
4 /* This Source Code Form is subject to the terms of the Mozilla Public */
5 /* License, v. 2.0. If a copy of the MPL was not distributed with this */
6 /* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
7 /* ################################################################### */
9 #ifndef FGETC_H
10 #define FGETC_H
12 #include <errno.h>
14 int
15 my_fgetc(FILE *input);
17 int
18 my_ungetc(int c, FILE *input);
20 #endif