help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SV: HELP!


From: Lars Kristiansson
Subject: SV: HELP!
Date: Tue, 16 Apr 2002 19:39:33 +0200

Any program must return a code. Look at the c main function, which reads:

int main(int argc, char *argv[])
{
...
}

It returns something, an int. Some programmers neglect the standard function
last statement "return 0;", which gives the program the property of
returning an int which is zero to signal that the program exited properly.
Neglecting this statement the function returns whatever is at hand in the
processor register.

What this "1" means is up to what the programmer did when he coded this
program. There is no standard whatsoever applicable to this exit code.

-----Ursprungligt meddelande-----
Från: help-gnu-emacs-admin@gnu.org
[mailto:help-gnu-emacs-admin@gnu.org]För Iosu Arizkuren
Skickat: den 16 april 2002 11:48
Till: help-gnu-emacs@gnu.org
Ämne: HELP!


Hello, maybe it's an unuseful question but does someone know what does
'exited with code 1' mean?
I tryed to execute another program instead of ispell, and make the
ispell-buffer call it, but it exits my program with code 1, and it has not
got errors. Any idea?. All suggestions will be accepted.
Thanks,
regards,
Iosu



_________________________________________________________________
Con MSN Hotmail súmese al servicio de correo electrónico más grande del
mundo. http://www.hotmail.com/ES


_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]