From owner-freebsd-questions@FreeBSD.ORG Fri Nov 2 00:34:36 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29C0F16A469 for ; Fri, 2 Nov 2007 00:34:36 +0000 (UTC) (envelope-from lars@larseighner.com) Received: from mail.team1internet.com (mail.team1internet.com [216.110.13.10]) by mx1.freebsd.org (Postfix) with ESMTP id 0129413C49D for ; Fri, 2 Nov 2007 00:34:35 +0000 (UTC) (envelope-from lars@larseighner.com) Received: by mail.team1internet.com (Postfix, from userid 12346) id 5B9DD16B4E1; Thu, 1 Nov 2007 14:43:35 -0500 (CDT) Received: from larseighner.com (unknown [216.110.13.94]) by mail.team1internet.com (Postfix) with SMTP id D218216B8E4; Thu, 1 Nov 2007 14:43:32 -0500 (CDT) Received: by larseighner.com (nbSMTP-1.00) for uid 1001 lars@larseighner.com; Thu, 1 Nov 2007 14:42:11 -0500 (CDT) Date: Thu, 1 Nov 2007 14:42:10 -0500 (CDT) From: Lars Eighner X-X-Sender: lars@debranded.6dollardialup.com To: Yuri In-Reply-To: <1193941841.472a1b51464bf@webmail.rawbw.com> Message-ID: <20071101144159.F60360@qroenaqrq.6qbyyneqvnyhc.pbz> References: <1193901348.47297d249cb88@webmail.rawbw.com> <1193941841.472a1b51464bf@webmail.rawbw.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Sanitizer: Anomy and SpamAssassin mail filter - see http://www.6dollardialup.com/support/spaminfo.html X-Spam-Status: No, hits=-3.1 required=10.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,OACYS_SINGLE,QUOTED_EMAIL_TEXT, REFERENCES,SIGNATURE_SHORT_DENSE,SPAM_PHRASE_03_05, TO_LOCALPART_EQ_REAL version=2.43 X-Spam-Level: Cc: yuri@tsoft.com, freebsd-questions@freebsd.org Subject: Re: 'break' system call man page is missing? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 00:34:36 -0000 On Thu, 1 Nov 2007, Yuri wrote: >> What is the condition when errno=22 is returned? > I figured this out myself by looking into the kernel source code. It is much easier to use man errno. > But there still should be a man page for this since this seems to be only > (or at least one of the very few) system calls w/out documentation. I am not sure I know what you mean by "system call break." There is an internal shell command "break" (as you should learn by entering man break, which takes you to the builtins man page). There is no external "break" command that I know of. Because it is an internal shell command, it is documented in the man page for your shell, which in the case of "system" in the c lib, is sh. 1) man break takes you to the builtin commands man page. 2) a table on that page tells you "break" is not an external command, but is an internal command in csh and sh. 3) man system tells you system executes a command in an sh shell. 4) sh man tells you that break causes the end of execution of the innermost loop(s) or in other words, "break" is meaningless unless it is in a loop, which you would be told in plain text if you entered "break" at the command line in an sh shell. So, do you mean some other kind of "break" command in some other context? -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266