Thread
:
DIY - KeK
View Single Post
08-15-2012, 06:48 PM
#
265
geekmaster
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by
knc1
About the simplest compiled program in any distribution is:
Code:
int main(void) { return 0; }
Also known in public as: /bin/true.
Isn't "return 0" returning FALSE instead of TRUE?
Oh, nevermind. In C, zero is FALSE, but in the shell it is TRUE. Oh well, never mind then...
"Three blank lines copyrighted by AT&T" :
http://linuxlife.blogspot.com/2012/0...copyright.html
Last edited by geekmaster; 08-15-2012 at
07:01 PM
.
geekmaster
View Public Profile
Find More Posts by geekmaster
Track Posts by geekmaster via RSS