Modern C

Table of Contents



Jens Gustedt

1 Print version

Print and eBook editions of Modern C, Second Edition, will be available shortly from my publisher, Manning. Help and investment from Manning have been crucial for this Second Edition of Modern C.

If you’d like to support our hard work, and receive a nicely formatted print or eBook, please consider buying a copy from https://manning.com at the following URL:

… once this is ready.

Those purchasing a copy are helping keep this important resource available as an open edition on this website.

You can use discount code MODC35 to get 35% off either a print or eBook copy. All you need to do is apply the code at checkout.

2 Online resources

2.1 Downloads

The most recent version available is from Oct. 10, 2019, with some minor fixes, mostly typos.

2.2 Blog

I sometimes use my blog to dump new ideas where I think C should head to, and to keep an updated list of the features that might go into C2x.

2.3 Forum

There is now a moderated discussion forum, where you might take on with opinions or questions about the book.

2.4 Bugs

Bugs such as typos can be followed with a bug tracker. Please:

  • Check the open and closed list of bugs if this particular bug is already handled.

I will attempt to fix all bugs as fast as I may, but not faster. Also, please don't expect that I upload a new version of the pdf for each fix. It might take some time until your fix shows up, there.

3 Be a sponsor

I am not producing this book for a living, but the people at Manning do. If you still think that you don't want to buy a printed or e-paper version and are satisfied by using the public version, you're welcome to do so.

You could still think of contributing a little bit, either by volunteering to

  • your favorite software project
  • a software industry improvement project
  • a free speech or publication project
  • the national C standards committee of your country

or anything else that makes the whole world (or maybe just our planet) a better place.

You could also contribute by giving whatever money you may spare to such a project. There are many projects in need of contributions, not all important open source projects out there are financed by big money, and that independence is important.

The musl libc project has had my attention for several years now:

musl libc
a new libc striving to be fast, simple, lightweight, free, and correct
Funding page

I find such a C library project aiming to be standard conforming (C and POSIX) particular helpful. Their C sources are a treasure trove if your are looking into simple but efficient code. As an extra plus, this is a project with a really humane discussion culture, a proof that people (even men!) can constructively work together to achieve great things without denigrating each other.

4 Terms

4.2 Copyright and License of provided source code

The C source code provided with this book is licensed under the
following standard MIT license:

----------------------------------------------------------------------
Copyright © 2015-2019 Jens Gustedt

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
----------------------------------------------------------------------

Author: Jens Gustedt

Created: 2019-10-10 Do 10:48

Validate