System Calls | Read | Write | Open | Close | Linux
Vložit
- čas přidán 8. 09. 2024
- 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...
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:)
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 🌹
Nice video
Awesome video
i found out the manual pages can be simple to read
Nice vedio👍
Nice Video..👌
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!
Very well explained ...keep going ❤
It was very helpfull mam. Thank you
good explaination madam..keep update more
# awesome video with excellent explanation # can you make more lectures or linux device driver and kernal programming not in deep basic
Simply saved my life
Nicely explained...👍
Great video
Very well explained. Thank you so much!
You did a very great jo here. Thank you
I love this video. Very interesting 🎉🎉🎉
very informative ma'am
thanks a lot mam
Keep it up!!
It was useful for me..
Thank you
Thanks for video :)
Excellent explanation madam, thank you
Excellent video.thank you
CONGRATULATIONS ON THE VIDEO
Thank you so much! You broke down this subject very well!
thanks mam it helps a lot ..
Wow. This is an amazing explanation. Thank you very much.
I loved this video and I got a lot of help. I would love to support the channel. How can I support it?
Well explained!!! Thanks...
Thank you for this!!! Plus l love how you simplified the concept!
Glad it was helpful!
Thanks mam , nice explained
I want explanation for
Write a c program that makes a copy of file using standard I/O and system calls
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
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!.
Thank you so much, very clear
Superb content :D
Time saver, Thank you so much
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.
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.
Thankyou soooo much!
And where is example read/write to DEVICE?
where(in which directory) was check.txt created in this of your Linux....before u used it in code....
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 :)
Know little makefile, please talk of makefile and opengl.
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
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
excellent! Clear and logical
Terminal mein program manual open kaise karte hau
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.
He'll ma'am how can I open my function total option please help me
What is file discripter?
Mam how to learn to write a code like this?
Practice
Mam please help me in programming
Repairs computers easy
the sound is not good I am quite disappointed
Everything is nice except indentation
The way your pronouncing the “r’s” makes me really aggressiv
Learn to use your editor and indent the code properly! Badly formatted code is such a turn off.
It's nothing but........ Everything here is nothing but... 🙄
your English is disturbing