Project

General

Profile

Actions

Bug #9855

closed

list_next/list_prev needs a bit more detail

Added by Dan McDonald almost 4 years ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
manpage - manual pages
Start date:
2018-09-21
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

Currently:

       The list_next() and list_prev() functions return the next or previous
       item in the list, relative to the named reference item which must be
       linked on the list.

It says nothing about returning NULL when reaching one or the other end of the list. Perhaps something like:

       The list_next() and list_prev() functions return the next or previous
       item in the list, relative to the named reference item which must be
       linked on the list. If the named reference item is at the end (for list_next())
       or beginning (for list_prev()) of the list, the function returns NULL.
Actions #1

Updated by Robert Mustacchi 7 months ago

  • Assignee set to Robert Mustacchi
Actions #2

Updated by Electric Monk 7 months ago

  • Gerrit CR set to 1954
Actions #3

Updated by Robert Mustacchi 7 months ago

Tested by looking at the new page in man.

Actions #4

Updated by Electric Monk 7 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 597b30361cb132283d94270df35d0536cf12895f

commit  597b30361cb132283d94270df35d0536cf12895f
Author: Robert Mustacchi <rm@fingolfin.org>
Date:   2022-01-30T15:22:24.000Z

    9855 list_next/list_prev needs a bit more detail
    Reviewed by: Richard Lowe <richlowe@richlowe.net>
    Reviewed by: Andy Fiddaman <andy@omnios.org>
    Approved by: Gordon Ross <gordon.w.ross@gmail.com>

Actions

Also available in: Atom PDF