]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fix up boldfacing.
authorGuy Harris <[email protected]>
Tue, 11 Dec 2012 22:33:49 +0000 (14:33 -0800)
committerGuy Harris <[email protected]>
Tue, 11 Dec 2012 23:15:40 +0000 (15:15 -0800)
Different renderers (different *roffs, different -man macro packages,
different man-to-HTML translators, etc.) may handle fonts and paragraph
boundaries differently, or may handle font resetting in .BR and .B
differently, so:

reset the font at or before the end of a paragraph;

don't assume that font changes persist across paragraph breaks;

don't use .B or .BR inside boldfaced text.

pcap_breakloop.3pcap

index 2372348be49e54b3c8936f9315e0f728a875d9a4..e437af8a8e68f29a50c66db89bc02e002a179af1 100644 (file)
@@ -58,20 +58,15 @@ if the signal interrupted a call reading packets in a live capture,
 when your signal handler returns after calling pcap_breakloop(), the
 call will be restarted, and the loop will not terminate until more
 packets arrive and the call completes.
+.ft R
 .PP
+.ft B
 Note also that, in a multi-threaded application, if one thread is
-blocked in
-.BR pcap_dispatch() ,
-.BR pcap_loop() ,
-.BR pcap_next() ,
-or
-.BR pcap_next_ex() ,
-a call to
-.B pcap_breakloop()
-in a different thread will not unblock that thread; you will need to use
-whatever mechanism the OS provides for breaking a thread out of blocking
-calls in order to unblock the thread, such as thread cancellation in
-systems that support POSIX threads.
+blocked in pcap_dispatch(), pcap_loop(), pcap_next(), or pcap_next_ex(),
+a call to pcap_breakloop() in a different thread will not unblock that
+thread; you will need to use whatever mechanism the OS provides for
+breaking a thread out of blocking calls in order to unblock the thread,
+such as thread cancellation in systems that support POSIX threads.
 .ft R
 .PP
 Note that