Changeset 16cc9f7 for libcfa/src/bits/debug.cfa
- Timestamp:
- Apr 22, 2022, 6:33:22 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 31a5f418
- Parents:
- 94d91e17
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/debug.cfa
r94d91e17 r16cc9f7 10 10 // Created On : Thu Mar 30 12:30:01 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Jun 17 11:07:13 202013 // Update Count : 1 212 // Last Modified On : Fri Apr 22 18:20:26 2022 13 // Update Count : 13 14 14 // 15 15 … … 44 44 void __cfaabi_bits_release() __attribute__((__weak__)) {} 45 45 46 void__cfaabi_bits_print_safe ( int fd, const char fmt[], ... ) __attribute__(( format(printf, 2, 3) )) {46 int __cfaabi_bits_print_safe ( int fd, const char fmt[], ... ) __attribute__(( format(printf, 2, 3) )) { 47 47 va_list args; 48 48 … … 55 55 __cfaabi_bits_release(); 56 56 va_end( args ); 57 return len; 57 58 } 58 59 59 void__cfaabi_bits_print_nolock( int fd, const char fmt[], ... ) __attribute__(( format(printf, 2, 3) )) {60 int __cfaabi_bits_print_nolock( int fd, const char fmt[], ... ) __attribute__(( format(printf, 2, 3) )) { 60 61 va_list args; 61 62 … … 66 67 67 68 va_end( args ); 69 return len; 68 70 } 69 71 70 void__cfaabi_bits_print_vararg( int fd, const char fmt[], va_list args ) {72 int __cfaabi_bits_print_vararg( int fd, const char fmt[], va_list args ) { 71 73 int len = vsnprintf( buffer, buffer_size, fmt, args ); 72 74 __cfaabi_bits_write( fd, buffer, len ); 75 return len; 73 76 } 74 77 75 void__cfaabi_bits_print_buffer( int fd, char in_buffer[], int in_buffer_size, const char fmt[], ... ) __attribute__(( format(printf, 4, 5) )) {78 int __cfaabi_bits_print_buffer( int fd, char in_buffer[], int in_buffer_size, const char fmt[], ... ) __attribute__(( format(printf, 4, 5) )) { 76 79 va_list args; 77 80 … … 82 85 83 86 va_end( args ); 87 return len; 84 88 } 85 89 }
Note: See TracChangeset
for help on using the changeset viewer.