X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=compile%2Fvmware-detect.c;h=8afe2d1dd18c5a39096085b50989e62cf80a82ae;hb=f385c47b680aa903afbdce8ac8441dead20d9457;hp=0269b902603cc02b1f705b146922dd58480b4cb6;hpb=d6b26ce3b8ffa721052bfb0eebc546ac9a63e5f9;p=grml-scripts.git diff --git a/compile/vmware-detect.c b/compile/vmware-detect.c index 0269b90..8afe2d1 100644 --- a/compile/vmware-detect.c +++ b/compile/vmware-detect.c @@ -1,3 +1,11 @@ +/* Filename: vmware-detect.c +* Purpose: Detect if running inside vmware +* Authors: grml-team (grml.org), (c) Michael Gebetsroither +* Bug-Reports: see http://grml.org/bugs/ +* License: This file is licensed under the GPL v2. +*******************************************************************************/ +// return 0 if running inside vmware, 1 otherwise + #include "string.h" #include "unistd.h" #include "stdio.h"