From owner-freebsd-questions Sun Jun 9 05:36:32 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA27190 for questions-outgoing; Sun, 9 Jun 1996 05:36:32 -0700 (PDT) Received: from mail2.panix.com (mail2.panix.com [198.7.0.33]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA27174 for ; Sun, 9 Jun 1996 05:36:29 -0700 (PDT) Received: from jbarrm.dialup.access.net (jbarrm@jbarrm.dialup.access.net [166.84.200.169]) by mail2.panix.com (8.7.5/8.7.1/PanixM1.0) with SMTP id IAA17856 for ; Sun, 9 Jun 1996 08:36:26 -0400 (EDT) Date: Sun, 9 Jun 1996 08:36:19 -0400 (EDT) From: Barry Masterson X-Sender: jbarrm@jbarrm.dialup.access.net To: Freebsd-questions Subject: Design & Implementation of 4.4BSD Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I'm working my way thru the recently released book entitled "The Design and Implementation of the 4.4BSD Operating System", and have come across some algorithm code samples on pages 199 & 203: disksort(dq, bp) drive queue *dq; buffer *bp; { if (drive queue is empty) { place the buffer at the front of the drive queue; return; } if (request lies before the first active request) { locate the beginning of the second request list; sort bp into the second request list; } else sort bp into the current request list; } I'm familiar with the basics of c/c++, perl, shell scripts, but this use of "the", "of", "into", "at" is something I've yet to see. It seems a little too human readable to be real code. What language is this? Are there other examples of this type of programming in the FreeBSD source code? Thanks, Barry Masterson jbarrm@panix.com >--->--->--->--->---> FreeBSD 2.1.0-R <---<---<---<---<---<