Find a file
gnomus 496ebd1158 Merge branch 'develop' into 'master'
nitpicking and better c standard compliant code

let us...

...use the proper main(void) signature.

...use variable names which speak for their semantic content not their type, as types are explicitly declared.

...use perror() to signal the correct errno message upon error.

...move the password out of the running code, so we can change and find it easily.

...use exit() as it's a linear CLI tool, which can and should exit on certain failure/error states.

...decouple error handling from business logic. (e.g. getline() error handling and strcmp() for password check).

...not free() at the end of the program as it **is** and should **never** be necessary, since the OS **must** handle this.
2014-06-10 20:45:25 +00:00
challenge nitpicking and better c standard compliant code 2014-06-10 22:22:10 +02:00
.gitignore adding simple makefile to build door challenge 2014-06-10 15:15:25 +02:00
dooropen adding +x to shell-scripts 2014-06-10 14:00:21 +02:00
lock adding +x to shell-scripts 2014-06-10 14:00:21 +02:00
Makefile adding simple makefile to build door challenge 2014-06-10 15:15:25 +02:00
readme.md readme format fix 2014-06-06 13:52:30 +02:00
unlock adding +x to shell-scripts 2014-06-10 14:00:21 +02:00

Dooris Concierge Scripts

Diese Scripte sind dafür zuständig die entsprechenden GPIO-Ports von Dooris anzusteuern um Türen zu *schließen

Weiterhin sagen sie dem IRC-Bot bescheid, damit dieser den Status im IRC anpassen kann.