From owner-freebsd-hackers Wed Oct 15 09:54:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA01140 for hackers-outgoing; Wed, 15 Oct 1997 09:54:48 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from plains.NoDak.edu (tinguely@plains.NoDak.edu [134.129.111.64]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA01135 for ; Wed, 15 Oct 1997 09:54:42 -0700 (PDT) (envelope-from tinguely@plains.NoDak.edu) Received: (from tinguely@localhost) by plains.NoDak.edu (8.8.5/8.8.5) id LAA22736; Wed, 15 Oct 1997 11:54:28 -0500 (CDT) Date: Wed, 15 Oct 1997 11:54:28 -0500 (CDT) From: Mark Tinguely Message-Id: <199710151654.LAA22736@plains.NoDak.edu> To: hackers@FreeBSD.ORG, jacques@wired.ctech.ac.za Subject: Re: values for exit() Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Where can I find the exit values for > exit()? Meaning, what is the difference > between eg exit(1) and exit(2)? each application defines their return code meanings. The important rule is that 0 means no error, non-zero indicates an error or special condition. --mark.