need to use operating system. Syscalls are operating system interfaces for programming languages. Now what is open? Open is an interface that operating system brings us to deal with file system. We have open on linux same as windows and etc. But what is their responsibility? They are responsible to work with underlying file systems like ntfs, fat, ext4 and etc. Operating system knows what is the file system and your compiler doesn't know it. Thus yor c compiler uses system calls of operating system to outsource such a jobs.
Thenku very much! Your explanation is very good👌
Обсуждают сегодня