Skip to content

Yidne21/system_Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

System programming Lab tutorial


This repository contains different Lab session code practies in college. we practied some of the main system programming concept such as:

  • Files Input Output operations:-
    • int open (const char* Path, int flags [, int mode ]);
    • int creat(char *filename, mode_t mode)
    • int close(int fd);
    • size_t read (int fd, void* buf, size_t cnt);
    • size_t write(int fd, void* buf, size_t cnt);
    • off_t lseek(int fd, off_t offset, int whence);
  • How to access uinx files and directories using c programming language
    • int stat(const char *pathname, struct stat *buf);
    • int fstat(int fildes, struct stat *buf);
    • int lstat(const char *pathname, struct stat *buf);

📝 Author

👨 Yidnekachew Bantrga