182 reputation
111
bio website
location Kolkata, India
age 26
visits member for 2 years, 1 month
seen Dec 2 at 11:59

*** Main Functions ***


C and C++

int main(void);
int main();

int main(int argc, char **argv);
int main(int argc, char *argv[]);
int main(int argc, char **argv, char **envp);

JAVA

public static void main(String[] args)
public static void main(String... args)
public static void main(String args[])

PYTHON

def main():
# the main code goes here

if __name__ == "__main__":
main()

PIKE

int main(int argc, array(string) argv)

SCALA

def main(args:Array[String])

RUBY

self # => main
self.class # => Object
self.class.ancestors # => [Object, Kernel]


Jan
1
comment Busybox `uname -r` shows wrong kernel version
@fpmurphy is it possible to set kernel version externally?
Jan
1
comment Busybox `uname -r` shows wrong kernel version
@Gilles yes I am booting the correct Image file,actually I am using raspberry pi. But is there any option in kernel compilation to set up kernel version externally??
Jan
1
comment Busybox `uname -r` shows wrong kernel version
I have cross compiled the kernel with gcc version 4.5.2
Jan
1
comment Busybox `uname -r` shows wrong kernel version
cat /proc/version also showing 3.1.9+
Dec
31
comment No /proc in a Busybox-based embedded Linux distribution
i have forgot to add this, thank you
Dec
27
comment Does SDL require any sound server like PulseAudio to play audio?
thanks man let me check
Dec
27
comment Does SDL require any sound server like PulseAudio to play audio?
it shows Couldn't init SDL audio: No available audio device
Dec
27
comment Does SDL require any sound server like PulseAudio to play audio?
linux 3.2.27 board raspberry pi, distro is my custom
Dec
27
comment Does SDL require any sound server like PulseAudio to play audio?
can u tell me why plaympeg is not working??
Nov
20
comment Why is rcS required after file system is mounted by the kernel?
great, Its very helpful to me ... Thanks @Gilles
Nov
5
comment Partitioning disk image file
thank you... good explanation ...
Nov
5
comment Partitioning disk image file
perfectly worked for me.. thanks