Changes in libcfa/src/bits/debug.cfa [4bb5d36:16cc9f7]
- File:
-
- 1 edited
-
libcfa/src/bits/debug.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/debug.cfa
r4bb5d36 r16cc9f7 21 21 #include <unistd.h> 22 22 23 #include "bits/defs.hfa"24 25 23 enum { buffer_size = 4096 }; 26 24 static char buffer[ buffer_size ]; 27 25 28 26 extern "C" { 29 // would be cool to remove libcfa_public but it's needed for libcfathread 30 void __cfaabi_bits_write( int fd, const char in_buffer[], int len ) libcfa_public { 27 void __cfaabi_bits_write( int fd, const char in_buffer[], int len ) { 31 28 // ensure all data is written 32 29 for ( int count = 0, retcode; count < len; count += retcode ) { … … 47 44 void __cfaabi_bits_release() __attribute__((__weak__)) {} 48 45 49 // would be cool to remove libcfa_public but it's needed for libcfathread 50 int __cfaabi_bits_print_safe ( int fd, const char fmt[], ... ) __attribute__(( format(printf, 2, 3) )) libcfa_public { 46 int __cfaabi_bits_print_safe ( int fd, const char fmt[], ... ) __attribute__(( format(printf, 2, 3) )) { 51 47 va_list args; 52 48
Note:
See TracChangeset
for help on using the changeset viewer.