This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
strace $* 2>&1 | grep "open" | cut -d "(" -f 2 | cut -d ")" -f 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* \file main.c | |
* \brief Programme de conversion d'image rgb32 (non standard) vers PPM binaire (standard). | |
* \author Yann Feunteun | |
* \version 0.1 | |
* \date 30 décembre 2013 | |
* | |
* Ce programme convertit une image rgb32 dont le format est le suivant : | |
* | |
* 4 octets (unsigned) encodant la largeur |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(int argc, char * argv[]) | |
{ | |
if(argc < 2){ | |
fprintf(stderr, "Missing argument !\n"); | |
return -1; | |
} | |
if(argc > 2){ |
NewerOlder