Wed Oct 28 18:20:41 2009 UTC ()
Remove callback_entry ce description which has nothing to do with
callback_run_roundrobin() function.


(njoly)
diff -r1.2 -r1.3 src/share/man/man9/callback.9

cvs diff -r1.2 -r1.3 src/share/man/man9/callback.9 (expand / switch to unified diff)

--- src/share/man/man9/callback.9 2009/10/14 23:55:26 1.2
+++ src/share/man/man9/callback.9 2009/10/28 18:20:41 1.3
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: callback.9,v 1.2 2009/10/14 23:55:26 joerg Exp $ 1.\" $NetBSD: callback.9,v 1.3 2009/10/28 18:20:41 njoly Exp $
2.\" 2.\"
3.\" Copyright (c) 2009 The NetBSD Foundation, Inc. 3.\" Copyright (c) 2009 The NetBSD Foundation, Inc.
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" Redistribution and use in source and binary forms, with or without 6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions 7.\" modification, are permitted provided that the following conditions
8.\" are met: 8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright 9.\" 1. Redistributions of source code must retain the above copyright
10.\" notice, this list of conditions and the following disclaimer. 10.\" notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\" notice, this list of conditions and the following disclaimer in the 12.\" notice, this list of conditions and the following disclaimer in the
13.\" documentation and/or other materials provided with the distribution. 13.\" documentation and/or other materials provided with the distribution.
14.\" 14.\"
@@ -89,28 +89,26 @@ The callback object itself is specified  @@ -89,28 +89,26 @@ The callback object itself is specified
89The function pointer is specified by 89The function pointer is specified by
90.Fa fn . 90.Fa fn .
91.It Fn callback_unregister "ch" "ce" 91.It Fn callback_unregister "ch" "ce"
92Unregister the callback function from the structure specified by 92Unregister the callback function from the structure specified by
93.Fa ch . 93.Fa ch .
94The entry should be passed as 94The entry should be passed as
95.Fa ce . 95.Fa ce .
96This function may block. 96This function may block.
97.It Fn callback_run_roundrobin "ch" "arg" 97.It Fn callback_run_roundrobin "ch" "arg"
98Executes all functions registered in the callback 98Executes all functions registered in the callback
99structure, specified by 99structure, specified by
100.Fa ch . 100.Fa ch .
101The functions are executed in round-robin fashion. 101The functions are executed in round-robin fashion.
102The entry should be passed as 
103.Fa ce . 
104The value of 102The value of
105.Fa arg 103.Fa arg
106will be passed to the callback functions. 104will be passed to the callback functions.
107.El 105.El
108.Sh CODE REFERENCES 106.Sh CODE REFERENCES
109This section describes places within the 107This section describes places within the
110.Nx 108.Nx
111source tree where actual code implementing the 109source tree where actual code implementing the
112.Nm 110.Nm
113interface can be found. 111interface can be found.
114All pathnames are relative to 112All pathnames are relative to
115.Pa /usr/src . 113.Pa /usr/src .
116.Pp 114.Pp