'break' system call man page is missing?

Lars Eighner luvbeastie at larseighner.com
Thu Nov 1 17:34:36 PDT 2007

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

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
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

More information about the freebsd-questions mailing list