References for C and Unix Programming


C Programming

  1. C Overview - All or By Section


  2. C reference - cppreference.com

    History of C


  3. Standards

    WG14 N1256 - C99 standard, 2007-09-07

    The newest standard for Programming Language C is C17/C18 ISO/IEC 9899:2018 published 2018-06, available for purchase from ISO. C17 addresses defects in C11 without introducing new language features. C11 added atomic objects, threads, and unicode to the language. C99 included many major changes to the original C89/90 standard. The rationale for the C99 standard is also available.


  4. C character strings and string functions - All or By Section

    C Overview string.h

    The Most Expensive One-Byte Mistake, Poul-Henning Kamp, CACM, Sept. 2011.


Unix

  1. The Open Group - Single UNIX Specification

    POSIX.1-2017 is simultaneously IEEE Std 1003.1-2017 and The Open Group Technical Standard Base Specifications, Issue 7.

    Source, Local Copy

    See the volume on Shell & Utilities, Chapter 2 Shell Command Language and Chapter 4 Utilities.

    Shell: Detailed Table of Contents


  2. Utilities - Single Unix Specification and Linux man pages

    Sorted by course week


  3. dash - the standard command language interpreter (shell)

    Wikipedia: Debian Almquist shell

    sh - man page


C and Unix

  1. C Language Standards Supported by GCC

    GCC has substantially complete support for C99 and C11, but this does not necessarily include the standard library since the GNU C library is a separate project.

    For example, support for threads is only available in libc-2.28 as of August 2018, but current Linux distributions generally have an earlier version. However, a C11 threads.h implementation using POSIX threads is available from github.com/jtsiomb/c11threads.


  2. GNU Scientific Library

    The GNU Scientific Library (GSL) is a numerical library written in C. It is free software under the GNU General Public License, and provides a wide range of mathematical routines such as random number generators, special functions and least-squares fitting.

    GSL Reference Manual - HTML

    Browse Source


  3. Bison and Flex - parser and scanner generators

    Bison-3.0.2 and Flex-2.5.37 manuals:

    Bison: by-section, by-chapter, all, pdf, refcard.pdf

    Flex: by-section, by-chapter, all, pdf

    Examples