/
index
/
libcext.git
/ blobdiff
commit
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
switch the "namespace" to "lce"
[libcext.git]
/
fgetln.h
diff --git
a/fgetln.h
b/fgetln.h
index 92a0f95d13c0d47d4078f94652a258da1a9c2778..93bd072be2601979e063689d9de6d7ffdbe132f2 100644
(file)
--- a/
fgetln.h
+++ b/
fgetln.h
@@
-28,26
+28,26
@@
*/
/* https://git.datadissipation.net */
*/
/* https://git.datadissipation.net */
-#ifndef
FGETLN_H_
- #define
FGETLN_H_
1
+#ifndef
LCE_FGETLN_H
+ #define
LCE_FGETLN_H
1
- #ifdef FGETLN_INCLUDE_LIBC
+ #ifdef
LCE_
FGETLN_INCLUDE_LIBC
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
- #endif /* FGETLN_INCLUDE_LIBC */
+ #endif /*
LCE_
FGETLN_INCLUDE_LIBC */
#ifndef HAVE_FGETLN
#define HAVE_FGETLN 1
#ifndef HAVE_FGETLN
#define HAVE_FGETLN 1
- #define fgetln
i
_fgetln_
-char *
i
_fgetln_(FILE *, size_t *);
+ #define fgetln
lce
_fgetln_
+char *
lce
_fgetln_(FILE *, size_t *);
#endif /* !HAVE_FGETLN */
#endif /* !HAVE_FGETLN */
- #ifdef FGETLN_IMPLEMENTATION
+ #ifdef
LCE_
FGETLN_IMPLEMENTATION
char *
char *
-
i
_fgetln_(FILE *fp, size_t *len)
+
lce
_fgetln_(FILE *fp, size_t *len)
{
static char *buf = NULL;
static size_t bufsiz = 0;
{
static char *buf = NULL;
static size_t bufsiz = 0;
@@
-90,5
+90,5
@@
i_fgetln_(FILE *fp, size_t *len)
*len = (ptr - buf) + 1;
return buf;
}
*len = (ptr - buf) + 1;
return buf;
}
- #endif /* FGETLN_IMPLEMENTATION */
-#endif /* !
FGETLN_H_
*/
+ #endif /*
LCE_
FGETLN_IMPLEMENTATION */
+#endif /* !
LCE_FGETLN_H
*/