C

oe-pkgdata-util utility in Yocto

oe-pkgdata-util is helpful in determining why a file is included in the root file system. For example, on the development…

Yocto recipetool tutorial

The recipetool allows for the easier creation of a base recipe based on the source code files. As long as…

pthread_yield example in c

One advantage to using threads is that they can execute for a very long time without preventing the execution of…

Serial Port Programming – Reading/Writing Status of Control Lines: DTR/RTS/CTS/DSR

tiocmget and tiocmset In the 2.4 and older kernels, there used to be a number of tty ioctl calls to…

StringCchCat Function example

StringCchCat is used to concatenate one string to another string. It is also important to remember that the Strsafe functions,…

File Handling in C Programming

In all the C programs considered so far, we have assumed that the input data was read from standard input…

C Structures

Arrays provide the facility for grouping related data items of the same type into a single object. However, sometimes we…

C Pointers

The significance of pointers in C is the flexibility it offers in the programming. Pointers enable us to achieve parameter…

C Functions

A function is a self-contained block of program that performs some specific, well-defined task. A C program consists of one…

C Strings

What are Strings A string constant is a one-dimensional array of characters terminated by a null (‘\0’) character. Strings are…