getline
is a POSIX function, and Windows isn’t POSIX, so it doesn’t have some POSIX C functions available.
You’ll need to roll your own. Or use one that has already been written.
More Related Contents:
- Why does GCC use multiplication by a strange number in implementing integer division?
- Disable all optimization options in GCC
- Is errno thread-safe?
- Adding leading underscores to assembly symbols with GCC on Win32?
- Syscall implementation of exit()
- What is the meaning of “__attribute__((packed, aligned(4))) “
- Embedding binary blobs using gcc mingw
- Why does GCC pad functions with NOPs?
- Tell gcc to specifically unroll a loop
- Can I mix static and shared-object libraries when linking?
- Are there alternate implementations of GNU getline interface?
- How to check if a given file descriptor stored in a variable is still valid?
- Disable variable-length automatic arrays in gcc
- Why can’t local variable be used in GNU C basic inline asm statements?
- Create statically-linked binary that uses getaddrinfo?
- Installing OpenMP on Mac OS X 10.11
- Fused multiply add and default rounding modes
- Yet Another MinGW “gcc: error: CreateProcess: No such file or directory”
- Why do I get a warning every time I use malloc?
- An alternative for the deprecated __malloc_hook functionality of glibc
- Implementation of sizeof operator
- Standard C library in mingW
- Pointer arithmetic when void has unknown size [closed]
- How to compile executable for Windows with GCC with Linux Subsystem?
- Why both clang and gcc only give a warning when there is a space after backslash if C standard says that whitespace is forbidden?
- GCC memory barrier __sync_synchronize vs asm volatile(“”: : :”memory”)
- Is there a way to use fopen_s() with GCC or at least create a #define about it?
- getrandom syscall in C not found
- argv: Sanitizing wildcards
- Query on -ffunction-section & -fdata-sections options of gcc