]> git.lizzy.rs Git - getline.git/blob - getline.h
Add CMake config
[getline.git] / getline.h
1 #ifndef _GETLINE_H_
2 #define _GETLINE_H_
3
4 #include <stdio.h>
5 #include <stdint.h>
6
7 // if typedef doesn't exist (msvc, blah)
8 typedef intptr_t ssize_t;
9
10 ssize_t getline(char **lineptr, size_t *n, FILE *stream);
11
12 #endif // _GETLINE_H_