Quantcast
Channel: C – Musings
Browsing latest articles
Browse All 13 View Live

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 latest articles
Browse All 13 View Live




Latest Images