Quantcast
Channel: C – Musings
Browsing all 13 articles
Browse latest View live

UEFI Shell Application Examples

The three examples listed in the EFI Shell Developers Guide have never been updated to reflect TianoCore UEFI development environment. I modified the sources for the three examples so that they now...

View Article



Position Independent Executables

Over the last few years, there has been a movement in GNU/Linux to produce more secure code. One of the techniques that has become commonplace is what is called Position Independent Executables (PIE)....

View Article

Korn Shell 93 Custom Builtins 1

The majority of GNU/Linux and Unix shells are not designed for extensibility or embeddability. An exception is the the Korn Shell which includes support for runtime linking of libraries and custom...

View Article

Korn Shell 93 libshell

In a number of posts about a year ago I discussed how to develop custom builtins for Korn Shell 93 (ksh93) using libshell and published APIs. You can also use these same APIs to access ksh93...

View Article

OpenSSL DES APIs

This post examines what support is provided by OpenSSL v1.0 for the Data Encryption Standard (DES) and provides simple examples of how to used the provided application programming interfaces. A brief...

View Article


Hard Disk Metadata

This post demonstrates how to access hard disk metadata such as disk geometry, capacility, manufacturer, serial number, firmware revision, rotational speed, and partiitioning information using...

View Article

GRUB2 Modules

This post describes GRUB2 modules and shows you how to add functionality to existing modules or write you own custom module.

View Article

Korn Shell 93 Hash Builtins

This post shows you how to incorporate hash functions built into the AT&T Advanced Software Technologies (AST) libsum library in your Korn shell shell scripts via custom builtins in a dynamically...

View Article


V8 JavaScript Engine on Fedora 14

This post shows you how to build the two V8 JavaScript shells on Fedora 14 and modify them to support shebang functionality. It also shows you how to modify the samples shell to support command line...

View Article


Programmatically Retrieve RPM Package Details

This post shows you how to access various types of information in the RPM database and RPM package files using C and Python.

View Article

Programmatically List Installed .deb Packages

While RPM packages have a robust ecosystem around them for programmatically retrieving information about package metadata, the Debian package management system is sorely lacking in this respect. Here...

View Article

Sprintf Portability and Leading Zeros

On some platforms, code such as the following can be used to output a string with leading zeros left padded to a length of 4. sprintf(*str, "%04s", *pstr); This works on AIX for example. However if the...

View Article

Currently C Is the Most Popular Programming Language

The TIOBE Programming Community Index for April 2012 shows that C is the most popular programming language (17.5%), closely followed by Java (17.02%) followed by C++ at 8.89%. It is not that C is...

View Article

Browsing all 13 articles
Browse latest View live




Latest Images