Тёмный

38.2 - The dup2 System Call - A C tutorial for redirecting stdin and stdout using system calls. 

Kris Jordan
Подписаться 14 тыс.
Просмотров 27 тыс.
50% 1

Опубликовано:

 

24 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@diegod.8518
@diegod.8518 3 года назад
By far the best explanation on this topic I have found on the web. The way you visualize, reiterate, and add different examples while switching from code to illustrations is superb.
@alvinlu1512
@alvinlu1512 4 года назад
The best explanation I found online! Excellent!
@techlover714
@techlover714 3 года назад
Greatest work on youtube please make videos on multithreading. Your videos are magic.
@omartrkzi
@omartrkzi 3 года назад
Finally some real English ...... God ! My ears ...
@marcosmecatronikify
@marcosmecatronikify Год назад
great explanation, thank you very much for sharing your knowledge!
@pochopsp
@pochopsp 3 года назад
Great video and explaination. Now I get it all. Thx a lot
@moisesdevs
@moisesdevs 3 года назад
great video! The world needs more teachers like you! Subscribed
@YourName0729
@YourName0729 3 года назад
Thank you! Very clear and detailed!
@splodys
@splodys 3 года назад
This is great content! keep up the great work, helped me immenselly!
@narvik7587
@narvik7587 2 года назад
Thanks for your video. I am really appreciated 😭
@miquelmunoz611
@miquelmunoz611 2 года назад
you saved my semester
@malakggh
@malakggh Год назад
Thank you so much, it's really amazing video. What application do you use for drawing on the screen ?
@chamarasilva7700
@chamarasilva7700 2 года назад
how to reset stdin/out to the terminal?
@p_molnar
@p_molnar 2 года назад
superb video! What program and device are you using to annotate the screen real time?
@naibiyilidaer5580
@naibiyilidaer5580 3 года назад
Thank you so much!
@activelivingchallenger4298
@activelivingchallenger4298 3 года назад
I don't think you need to use dup2 to implement redirect but I guess he is just using dup2 to show how it works. If you close stdout before calling open what the open function will do is find the lowest file descriptor available (which is now STDOUT) and use that instead of creating a new file descriptor which is FD3 in this example.
@oussamakaddami4543
@oussamakaddami4543 4 года назад
Excellent!
@aloonz8929
@aloonz8929 3 года назад
thank you!
@shelbys4252
@shelbys4252 3 года назад
I love u
@CNET24th
@CNET24th 3 года назад
why do you sound like the guy from khanacademy?
@shubhambhakuni9306
@shubhambhakuni9306 4 года назад
how to reset output to stdout?
@ibthajsami8497
@ibthajsami8497 3 года назад
same Question!
@e-leman
@e-leman Год назад
you have to store it in another fd and dup2 to 1 again after you done
Далее
Redirecting standard output in C
15:39
Просмотров 93 тыс.
I tricked MrBeast into giving me his channel
00:58
Просмотров 17 млн
Simulating the pipe "|" operator in C
19:52
Просмотров 85 тыс.
No really, how does Linux run executables?
8:37
Просмотров 181 тыс.
File Descriptors Explained
9:57
Просмотров 74 тыс.
Stop using std::vector wrong
23:14
Просмотров 127 тыс.
Pipe Dup Explained
12:58
Просмотров 25 тыс.
WHY IS THE HEAP SO SLOW?
17:53
Просмотров 255 тыс.
Linux Exec System Call
24:17
Просмотров 94 тыс.
Using execve in C
10:04
Просмотров 17 тыс.