posix
Coordinating peer-to-peer messages using multicast, how to get receiving IP?
I have been working on a local LAN service which uses a multicast port to coordinate several machines.Each machine listens on the multicast port for instructions, and when a certain instruction is rec[详细]
2023-04-13 06:52 分类:问答how to get the process name from the PID in C++? [duplicate]
This question already has answers here: Closed 11 years ago. Possi开发者_如何学Cble Duplicate: How to get Process Name in C++[详细]
2023-04-13 03:33 分类:问答How to sleep a random fraction of a second in POSIX shell?
The following won\'t work: /bin/sleep $(printf \".%02ds\" $(( $RANDOM % 100 ))) POSIX sleep supports only integral seconds[详细]
2023-04-13 00:31 分类:问答What is a FILE * type in Cocoa,and how properly use it?
I\'m trying to run Bash commands from my Cocoa APP. And receive开发者_如何转开发 the output. I\'m executing all that commands, with Admin Privilege.[详细]
2023-04-12 16:54 分类:问答how to set up my background process handler
so I\'m writing a shell that can have both foreground and background process. I have a: signal(SIGCHLD, childHandler);[详细]
2023-04-11 21:52 分类:问答Using the pipe() system call
I\'ve been trying to use the pipe() system call to create a shell that supports piping (with an arbitrary number of commands).[详细]
2023-04-11 07:24 分类:问答What can lead to "IOError: [Errno 9] Bad file descriptor" during os.system()?
I am using a scientific software including a Python script that is calling os.system() which is used to run another scientific program. While the subprocess is running, Python at some point prints the[详细]
2023-04-11 04:47 分类:问答Recognizing POSIX-read pauses in microseconds range
I have to realize the J1708-protocol in C++/Linux. I want to implement this completely in user spa开发者_开发百科ce, but I don\'t know if this is possible.[详细]
2023-04-10 23:12 分类:问答Will pthread_join halt the parent program if the child thread is still working?.. Will pthread_detach make it faster?? instead of using join?
My program is something like this.. I wanted to know will I make开发者_JAVA技巧 my program slow, if I call pthread join???[详细]
2023-04-10 08:06 分类:问答Traverse Directory Depth First
I need to traverse a directory depth first without using boost but I have not been able to find 开发者_Go百科a good tutorial how to do this. I know how to list the files of the directory, but not sure[详细]
2023-04-10 06:47 分类:问答