Skip to content

dayvidwhy/get-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Get Input

Utility function for dynamically allocating increasing amounts of memory as contents of a file is read.

Installation

git clone git@github.com:dayvidwhy/get-input.git
cd get-input
make
./read file
# check usage for any errors

How it works

We malloc a set amount of memory then continuously realloc additional memory as the number of bytes becomes insufficient to store our read input.

About

πŸ“ Allocate information to memory from a file using C.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages