file-descriptor
question on changing file descriptor number in c
my question is how would I change the program below so that it takes a file descriptor number on the command line rather tha开发者_StackOverflow社区n a file name?Any help would be greatly appreciated.[详细]
2022-12-10 05:17 分类:问答How to read exactly one line?
I have a Linux file descriptor (from socket), and I want to read one line. How to do it in开发者_如何学运维 C++?I you are reading from a TCP socket you can\'t assume when the end of line will be reach[详细]
2022-12-08 14:59 分类:问答