diff options
author | ru <ru@FreeBSD.org> | 2002-11-29 16:42:23 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-11-29 16:42:23 +0000 |
commit | ecf768b1cc4a92d482b44d778465265d5c7eda3f (patch) | |
tree | 0873c2dd4a3d13e5558b8af8484ffaabee3abc64 /lib/libc/stdlib/insque.3 | |
parent | 7edfa0142f1bd8138d60d5b95120859e4c317cc2 (diff) | |
download | FreeBSD-src-ecf768b1cc4a92d482b44d778465265d5c7eda3f.zip FreeBSD-src-ecf768b1cc4a92d482b44d778465265d5c7eda3f.tar.gz |
mdoc(7) police: sweep.
Diffstat (limited to 'lib/libc/stdlib/insque.3')
-rw-r--r-- | lib/libc/stdlib/insque.3 | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/lib/libc/stdlib/insque.3 b/lib/libc/stdlib/insque.3 index 7df48f0..53c5ee6 100644 --- a/lib/libc/stdlib/insque.3 +++ b/lib/libc/stdlib/insque.3 @@ -4,7 +4,7 @@ .\" All rights reserved. .\" .\" As long as the above copyright statement and this notice remain -.\" unchanged, you can do what ever you want with this file. +.\" unchanged, you can do what ever you want with this file. .\" .\" $FreeBSD$ .\" @@ -24,21 +24,30 @@ .Ft void .Fn remque "void *element" .Sh DESCRIPTION -.Pp The .Fn insque and .Fn remque functions encapsulate the ever-repeating task of doing insertion and -removal operations on doubly linked lists. The functions expect their +removal operations on doubly linked lists. +The functions expect their arguments to point to a structure whose first and second members are pointers to the next and previous element, respectively. The .Fn insque functions also allows the .Fa pred -argument to be a NULL pointer for the initialization of a new list's +argument to be a +.Dv NULL +pointer for the initialization of a new list's head element. +.Sh STANDARDS +The +.Fn insque +and +.Fn remque +functions conform to +.St -p1003.1-2001 . .Sh HISTORY The .Fn insque @@ -50,10 +59,3 @@ In .Fx 5.0 , they reappeared conforming to .St -p1003.1-2001 . -.Sh STANDARDS -The -.Fn insque -and -.Fn remque -functions conform to -.St -p1003.1-2001 . |