Skip to content

Commit c77f478

Browse files
author
serg@serg.mylan
committed
document DBUG_OUTPUT()
misc cleanup
1 parent aafb2cf commit c77f478

File tree

5 files changed

+9
-11
lines changed

5 files changed

+9
-11
lines changed

dbug/example1.c

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
2-
#include <my_global.h>
3-
41
main (argc, argv)
52
int argc;
63
char *argv[];

dbug/example2.c

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
2-
#include <my_global.h>
3-
41
int debug = 0;
52

63
main (argc, argv)

dbug/example3.c

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
2-
#include <my_global.h>
3-
41
main (argc, argv)
52
int argc;
63
char *argv[];

dbug/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include <dbug_long.h>
1+
#include <dbug.h>
22

33
int main (argc, argv)
44
int argc;

dbug/user.r

+8-1
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,14 @@ disabled by DBUG_OFF togeher with the
873873
.I dbug
874874
library. So there will be no need to disable asserts separately with NDEBUG.
875875
.SP 1
876-
EX:\ \fCDBUG_ASSERT(\ a\ >\ 0);\fR
876+
EX:\ \fCDBUG_ASSERT(\ a\ >\ 0\ );\fR
877+
.SP 1
878+
.LI DBUG_OUTPUT\
879+
In multi-threaded environment disables (or enables) any
880+
.I dbug
881+
output from the current thread.
882+
.SP 1
883+
EX:\ \fCDBUG_OUTPUT(\ 0\ );\fR
877884
.SP 1
878885
.LE
879886

0 commit comments

Comments
 (0)