Code Monkey home page Code Monkey logo

sys-prog-examples's Introduction

sys-prog-examples

This repository contains a collection of simple C programs that demonstrate different aspects of programming on Linux. They were originally developed by Scott Kuhl to complement CS3411 Systems Programming at Michigan Technological University. Some of the example programs lack complete error checking (i.e., they don't check the return values for some functions to look for errors). Some of the example programs are intended for you to run multiple times and try editing. If you are looking for information about how to use a particular function or concept, you might want to try using "grep" to look for it instead of looking solely at the filenames. Looking at the man pages for the functions used in the programs will also be helpful.

All programs should compile and run on modern Linux machines. Compile all of them by typing "make" and clean up all binaries by typing "make clean". Some of these programs may have the same names as programs in /usr/bin or similar, so you need to run them as "./programName" to ensure that you are using the right program.

Downloading

To download the latest version of this repository in a ZIP file, use this link: https://github.com/skuhl/sys-prog-examples/archive/master.zip

To download this repository onto a Linux machine that has git installed, try:

git clone https://github.com/skuhl/sys-prog-examples.git
cd sys-prog-examples

To ensure that your copy of the repository is up-to-date, run the following when you are in the sys-prog-examples directory:

git pull

If you want to ensure that your copy of the repository exactly matches the latest version of the this repository, run the following when you are in the sys-prog-examples directory (this will delete any local files you added to the directory!):

git fetch --all
git reset --hard origin/master

sys-prog-examples's People

Contributors

skuhl avatar

Watchers

James Cloos avatar Chawki CHOUIB avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.