System Calls | Read | Write | Open | Close | Linux
HTML-код
- Опубликовано: 28 авг 2019
- Hello!
I make youtube videos for everyone who find technical concepts quite difficult to understand. I simplify such concepts and explain them in easy way!
Link for Previous Video:
File Structure in Linux:
• File Structure in Linu...
Subscribe to my channel for more content.
Facebook - / ifocusinstitute
Instagram - / ifocusinstitute
Linktree - linktr.ee/ifocusinstitute
Music By - Ikson Music www.toneden.io/ikson/post/tas...
I have done this in asm what a fun.
Yeah some problems with the assembler a little bit but its worth it
just i want to say thank you very much ma'am that's helped me alot 🌹
MAM 1ST THING THAT I SAW IN YOUR VIDEO IS YOUR TIME {1:10 AM}
I DON'T KNOW WHAT YOU ARE DOING IN YOUR LIFE
BUT ONE THING I KNOW IS YOU ARE "very hardworking" THAT'S FOR SURE
THANKS love and support from 19 yrs old boy (^_-)
Bro its not the actual time:)
good explaination madam..keep update more
Awesome video thank you so much for making it. Been using debian for years now but only ever used man to get the options for commands and sometimes theming info for the rc/config files.. only recently realized i could get code related info from man. This video has helped cement my understanding of using man for coding. Thanks again!
# awesome video with excellent explanation # can you make more lectures or linux device driver and kernal programming not in deep basic
Very well explained. Thank you so much!
Awesome video
i found out the manual pages can be simple to read
Nicely explained...👍
Nice video
Wow. This is an amazing explanation. Thank you very much.
Keep it up!!
Nice Video..👌
It was useful for me..
Thank you
Thank you so much! You broke down this subject very well!
Superb content :D
Simply saved my life
Thank you for this!!! Plus l love how you simplified the concept!
Glad it was helpful!
Nice vedio👍
You did a very great jo here. Thank you
very informative ma'am
Great video
Time saver, Thank you so much
Excellent explanation madam, thank you
I love this video. Very interesting 🎉🎉🎉
Excellent video.thank you
Thanks for video :)
Very well explained ...keep going ❤
It was very helpfull mam. Thank you
CONGRATULATIONS ON THE VIDEO
Thank you so much, very clear
Well explained!!! Thanks...
I did it exactly the same way but after writing, when reads again and prints the value written, it returns the value twice
eg
if "Hello" was written
it prints, HelloHello was printed in the file☹️
can someone explain
btw explaination was good👍🏻
understood the concept in one go
I want explanation for
Write a c program that makes a copy of file using standard I/O and system calls
thanks mam it helps a lot ..
Thanks mam , nice explained
I have a question: when I compile on Mac OSX on gcc-9.2 I get a compiler warning stating that I have implicitly declared the syscall functions and suggests I use fread(), fwrit(),fseek(),pclose(); what does this mean?
I think this doesn't work in mac use the f version
The syscalls in this video are linux specific thing .
Yeah this syscalls in all unix-like OS
But they use different numbers different code different registers
I loved this video and I got a lot of help. I would love to support the channel. How can I support it?
Thankyou soooo much!
excellent! Clear and logical
thanks a lot mam
where(in which directory) was check.txt created in this of your Linux....before u used it in code....
Would the file descriptor be the same across all applications? Like if I am using a .NET application, and a java application. Is the FD global between all of those? Or does the language keep its own version of what the Operating System would return as a FD?
They might be different or they might be same, the OS assigns the first unassigned fd.
So are you saying the language have its own version of the FD. Because if only the OS can assign a FD, then would be the same.
Pretty useful video cool bro I used this lesson and functions to write a custom FILE I/O that is not similar to FILE *fp in C
Still some works are left there is some offset issues and null character reading issues I will fix them soon enough in future
Make sure u atleast gimme a heart :)
thanks a lot ma'am. Can you explain ln command using system calls
Will upload soon!!
@@iFocusInstitute thank you so much. And also sort command.
@@iFocusInstitute Hello can I ask you something do you know how to crack a closed operating system using Linux I want to see the code of Windows Linux and MacOS purpose building my own OS with a super smart AI and features like holograms and much more anyway now in 2022 with the tech we have and M2 and multiple VMs this is very much possible so it is the time for me to get to work it is a project of mine none will be used in any malevolent matter towards any company or individual I just need to see some things and then it wont even be cloning those programs just learning about the features and how I might install similiar things but instead of Safar or Microsoft per say Brave or my own version of a browser I need to know this without this I can not complete my research!.
He'll ma'am how can I open my function total option please help me
Can you explain.. Why you are using "lseek"
Hi,
After the writing operation has been performed the pointer will be at the last position, but the reading of that message should be done from the starting location. So i have used the lseek system call to set the pointer to starting location.
What is file discripter?
Hi
Can you tell whats difference between
this
if(childpid==0)
{
printf("I am a child process and my process id is %ld",(long)getpid());
}
else
printf("I am parent process and my process id is %ld", (long)getpid());
wait(&status);
return 0;
}
and this code
if(childpid==0)
{
printf("I am a child process and my process id is %ld",(long)getpid());
}
else
{wait(&status);
printf("I am parent process and my process id is %ld", (long)getpid());}
return 0;
}
As you can in first code wait is used after the print and in second before the parent??
Hi,
In the first case when we use wait() after the printf() statement, the parent process is executed first and then the child process.
Whereas in the second case when we use wait() before printf() statement, the child process is executed first and then the parent process.
And where is example read/write to DEVICE?
Terminal mein program manual open kaise karte hau
Know little makefile, please talk of makefile and opengl.
Mam how to learn to write a code like this?
Practice
Mam please help me in programming
How to do that in asm?
Hello, Greetings from iFocus Institute!
In case of ASM you have to get the system call number, use registers to save it and then call the interrupt! So there are steps to perform it in ASM.
Thank You!
@@iFocusInstitute
Thanks
Repairs computers easy
the sound is not good I am quite disappointed
Everything is nice except indentation
Learn to use your editor and indent the code properly! Badly formatted code is such a turn off.
The way your pronouncing the “r’s” makes me really aggressiv
It's nothing but........ Everything here is nothing but... 🙄
your English is disturbing