Skip to content

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

License

Notifications You must be signed in to change notification settings

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 [email protected]: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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published