From 655ee2825121e149a9976e562946892efb20aea1 Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 7 Apr 2005 21:48:47 +0000 Subject: *** empty log message *** --- runtime/docs/html/foreach_8c-example.html | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 runtime/docs/html/foreach_8c-example.html (limited to 'runtime/docs/html/foreach_8c-example.html') diff --git a/runtime/docs/html/foreach_8c-example.html b/runtime/docs/html/foreach_8c-example.html deleted file mode 100644 index ccafaeeb..00000000 --- a/runtime/docs/html/foreach_8c-example.html +++ /dev/null @@ -1,28 +0,0 @@ - - -SystemTap: SystemTap Runtime Library - - -
Intro | Functions | Defines | Enumerations | Enumeration Values
- - -

foreach.c

Parameters:
- - - -
map 
ptr pointer to a map_node_stat, map_node_int64 or map_node_str
-
-
/* example showing how to print all the stats in a map using foreach() */
-
-struct map_node_stat *ptr;
-
-foreach (map, ptr)
-     printf ("map[%s,%ld] = [c=%lld s=%lld min=%lld max=%lld]\n", key1str(ptr), 
-             key2int(ptr), ptr->stats.count, ptr->stats.sum, ptr->stats.min, 
-             ptr->stats.max);
-
-

Generated on Wed Mar 9 12:24:52 2005 for SystemTap by  - -doxygen 1.3.9.1
- - -- cgit