Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for sktpinâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Answer | — |
A: How kill a child process without read() hanging in the parent process? Below is a new version of popen2() that works. Some pipe ends were not closed in the linked to original version. (see the branch for "pid != 0", where extra handles are closed - whether there is an error or not, but it's the parent process) (I also renamed the pipe variables to something more clea... (more) |
— | over 2 years ago |
Question | — |
How kill a child process without read() hanging in the parent process? There is an external program I'm calling from within my C/C++ program, by using fork() and execl(), and redirecting the stdio with dup2() to be able to read the output from the external program. It's based on this code: A simple popen2 implementation In another thread just started, the timeout h... (more) |
— | over 2 years ago |
Answer | — |
A: Update list based on presence of identifier in a second list Adding to Peter Taylor's reply: The OP requested something "more LINQ". I guess it can't get any "more linq" than... MoreLINQ! That library also has a ForEach(). If you only need that, maybe it's a bit much to use that lib, but if you like the other stuff in there, too, which I suspect... ... (more) |
— | about 3 years ago |
Question | — |
.elf file - What contributes to the resulting .bin file size? I have found this nice library for parsing/writing .elf files as output by e.g. the GCC toolchain: ELFIO I have a bare metal embedded project with an ARM Cortex M target. My goal is to overwrite a certain section within the .elf file generated by the build process. One of the values I want to... (more) |
— | over 3 years ago |