The C Programming Language
#include < stdio.h >

int main()
{
printf("Hello World\n");
return 0;
}

What about C?

Without the C programming language, we wouldn't have the computer operating systems we've become co-dependant with, like: Microsoft Windows, Apple Mac OS X and yes, even Linux servers and desktops.

The creator of AT&T UNIX; Ken Thompson and the creator of the C programming language; Dennis M. Ritchie, both ushered the world into a new era of computing.

What they actually did was to offer a programming language with source-code that was cross-system compilable(!), and an accompanying operating system (UNIX) that, unike it's predecessors, was a portable operating system (POSIX-standard). Meaning: it was entirely written in the C programming language (whereas earlier OSes were written entirely in assembly), making it compilable on several computer-platforms (apart from the 16-bit PDP-11 for which it was originally written).

Many clones of Unix have arisen over the years, most notably the various flavors of BSD' in the 80s, but none of them enjoyed the wide user-adoption like Linux, having overtaken the popularity of "true" Unix on server platforms since it's inception in the early 1990s.


Ken Thompson and Dennis M. Ritchie

AT&T UNIX debuted as a modular PDP11/20 mini-computer operating system in 1970, mostly for so-called super- / power-users, programmers, academia and industrial communities. UNIX was also very instrumental for the creation and further development of ARPANET (otherwise known today as the Internet).

Some sample-programs in C


I don't use 32-bit processors, so I won't be supplying 32-bit binaries.
If you want 32-bit binaries, I suggest you compile them yourself ;)

Like this: "gcc programname.c -o programname".

Listed tarballs contain C source-code and a x86_64 LSB-compliant ELF-binary (Linux-executable). These sample-programs are offered "as-is", they are freeware (i.e. not governed by software-licenses). You can do with them as you please.



*** links are coming... ***



Norwegian C-programs:

These programs were made as part of my programming / system development course (2013-2014). And therefore, all output made by the programs are in Norwegian (no_NO.UTF-8).

These tarballs contain C sauce and a x86_64 LSB-compliant ELF-binary.



hallo-io-2.tar.gz
mnd-dager.tar.gz
oslo-plaza-heis-v1.tar.gz
oslo-plaza-heis-v2.tar.gz
oslo-plaza-heis-v2.1.tar.gz
rectangle-length.tar.gz
rows-columns.tar.gz
string-length.tar.gz
var-bit-print.tar.gz

Year 2038 Problem / s2G


*** what is the YEAR 2038 PROBLEM / s2G ? ***

The tarball listed below is provided as an example of "The Year 2038 problem / Unix Millennium Bug". It contains C source-code and a x86_64 LSB-compliant ELF-binary.

The "2038-linux-bug" program is offered as-is, it is public domain.



2038-linux-bug.tar.gz



To counteract this issue, modifications have been made to certain parts of the Linux operating system to defer it for another 204 years.

"Ext4"-excerpt from wikipedia.org:

As computers become faster in general and as Linux becomes used more for mission-critical applications, the granularity of second-based timestamps becomes insufficient.

To solve this, ext4 (Linux file-system) provides timestamps measured in nanoseconds. In addition, 2 bits of the expanded timestamp field are added to the most significant bits of the seconds field of the timestamps to defer the year 2038 problem for an additional 204 years.



Selected logo's and / or brand names belong to their respective (©) copyright holders.
All other content ©2018  www.pizslacker.org, all rights reserved (unless otherwise stated).
E-mail:

Section-content last updated: 08.05.2018 - 17:08:20 GMT+1
Page loaded in 0.00070 seconds for IP address 54.224.108.85

Apache powered- PHP powered- Lynx enhanced Cross browser tested