Who uses POSIX realtime signals and why?

First of all, note that Ben’s answer is correct. As far as I can tell, the whole purpose of realtime signals in POSIX is as a realtime delivery mechanism for AIO, message queue notifications, timer expirations, and application-defined signals (both internal and inter-process). With that said, signals in general are a really bad way to … Read more

Does a LibC os exist?

The reason that you’re not finding a name for this is that it’s not an operating system — it’s the absence of an operating system. Often this is called something like “bare-metal” programming. The general idea of bare-metal programming is that there is a small bit of general-purpose code — a “bootloader” — that sets … Read more

Using floats with sprintf() in embedded C

Since you’re on an embedded platform, it’s quite possible that you don’t have the full range of capabilities from the printf()-style functions. Assuming you have floats at all (still not necessarily a given for embedded stuff), you can emulate it with something like: char str[100]; float adc_read = 678.0123; char *tmpSign = (adc_read < 0) … Read more