man pages/interface specs?

From: Peter T. Breuer (ptb@it.uc3m.es)
Date: Sat Jun 10 2000 - 18:03:51 EDT

  • Next message: Khimenko Victor: "Re: (reiserfs) Re: New Linux 2.5 - 2.6 TODO (Alan Cox suggestsdelaying"

    Are people writing docs? I've just been updating a driver from 2.2 to
    2.4 and some of the new kernel interfaces are obscurantist for no good
    reason AND lack a simple man-page style description.

    Take the list.h interface. I'm glad people finally got around to making
    the request queue doubly linked, but did they have to do it by
    embedding a struct representing a doubly linked list _without data_
    and reference the real data by calculating the negative offset of
    the enclosing struct from its field name for the queue!!!! !&^&*&*.
    Bwah hah.

    What happened to "next"? Why doesn't list.h contain an equivalent? Are
    the doubly linked lists meant to be circular, or to terminate in nulls?
    How is one meant to use the cryptic for_loop macro?

    Would the person who WROTE list.h kindly finish the job and add a manual
    page explaining how to use it?

    Then he can go on and attack blkdev.h.

    Or should I?

    Peter

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Jun 10 2000 - 18:07:00 EDT