Top "Systems-programming" questions

System programming is the activity of computer programming system software.

Why use bzero over memset?

In a Systems Programming class I took this previous semester, we had to implement a basic client/server in C. …

c memset systems-programming
Programmatically get the cache line size?

All platforms welcome, please specify the platform for your answer. A similar question: How to programmatically get the CPU cache …

c++ c caching operating-system systems-programming
how to make a process daemon

I am trying to understand how can I make my program a daemon.So some things which I came across …

c linux daemon systems-programming
What happens to an open file handle on Linux if the pointed file gets moved or deleted

What happens to an open file handle on Linux if the pointed file meanwhile gets: Moved away -> Does …

linux file file-io linux-kernel systems-programming
working of fork in c language

Now I have a problem in understanding the working of fork() system call. I write a code which is following : #…

c fork systems-programming
Does 64-bit Windows use KERNEL64?

I was looking at some libraries with dumpbin and I noticed that all the 64-bit versions were linked to KERNEL32. …

windows dll 64-bit systems-programming
Implementing an N process barrier using semaphores

I'm currently training for an OS exam with previous iterations and I came across this: Implement a "N Process Barrier", …

operating-system computer-science semaphore systems-programming barrier
What's the shortest code to write directly to a memory address in C/C++?

I'm writing system-level code for an embedded system without memory protection (on an ARM Cortex-M1, compiling with gcc 4.3) and need …

c++ c gcc systems-programming
How can I run a list of commands in parallel?

I have a file containing command lines that I want to run. This file contains around 2,000 lines. I have 8 cores …

bash parallel-processing system systems-programming
Low level systems programming with C++

I have been using C++ for a while now and I began to get interested in lower level system programming …

c++ systems-programming