Practical examples of C programming language to save the day
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
src
.editorconfig
.gitignore
.travis.yml
LICENSE
Makefile
README.md
template.c

README.md

Summa

Build Status

Practical examples of C programming language to save the day

Examples

  • benchmark-server.c: Creates a socket to perform download and upload benchmark tests.
  • monitor-process.c: Forks and waits for the child process and records the output of child process.
  • netlink-listener.c: Creates a netlink socket to listen for RTMGRP_LINK, RTMGRP_IPV4_IFADDR, RTMGRP_IPV6_IFADDR and RTMGRP_NEIGH multicast groups.

Contribution

Please feel free to open an issue to report a bug, or open a pull request to improve or add more practical examples. For opening a pull request:

  • Make sure that the source code has the same structure as template file.
  • Make sure that the source code is formatted based on .editorconfig file.
  • Place the source code in src folder.
  • Add filename and description of source code to Examples section of README file (the list of filenames should be sorted alphabetically).
  • Add a new target to Makefile to build the source code.
  • Add source code filename (without extension) to gitignore file.