Skip to content

OSN assignment 1 (reversing a file using system calls)

Notifications You must be signed in to change notification settings

shiridikumar/OSN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

OSN Assignment1

Intro to System calls


Contents and Assignment Structure

  • q1.c
  • q2.c
  • q3.c
  • /Assignment (Destination directory which will be created for output files after executing the code)

Assumptions Made

  • Destination Assignment Directory is assumed to be created in the curent working directory

  • Same file is given as input for all q1.c ,q2.c and q3.c

  • The output filename for q1.c is assumed to be 1_filename.txt

  • The output filename for q2.c is assumed to be 2_filename.txt

  • Libraries used :

    • stdio.h for sprintf
    • stdlib.h for malloc
    • sys/stat.h for stat function
    • fcntl.h for file read and write operations
    • string.h for string manupulations

About

OSN assignment 1 (reversing a file using system calls)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages