Skip to content

Latest commit

 

History

History

0x14-file_io

0x14. C - File I/O

About

An introductory project on:

  • How to create, open, close, read and write files
  • File descriptors
  • System calls
  • The difference between a function and a system call

Requirements

  • Ubuntu 14.04
  • gcc 4.8.4

File Descriptions

0-read_textfile.c - function that reads a text file and prints it to the POSIX standard output.

1-create_file.c - function that creates a file.

2-append_text_to_file.c - function that appends text at the end of a file.

3-cp.c - function that copies the content of one file to another file.