Ignore:
Timestamp:
Apr 22, 2022, 6:33:22 PM (22 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
31a5f418
Parents:
94d91e17
Message:

change cfaabi_bits_print... routines to return the number of characters printed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/bits/debug.hfa

    r94d91e17 r16cc9f7  
    99// Author           : Thierry Delisle
    1010// Created On       : Mon Nov 28 12:27:26 2016
    11 // Last Modified By : Andrew Beach
    12 // Last Modified On : Mon Apr 27 10:15:00 2020
    13 // Update Count     : 10
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Fri Apr 22 18:21:56 2022
     13// Update Count     : 11
    1414//
    1515
     
    4646        extern void __cfaabi_bits_acquire();
    4747        extern void __cfaabi_bits_release();
    48         extern void __cfaabi_bits_print_safe  ( int fd, const char fmt[], ... ) __attribute__(( format(printf, 2, 3) ));
    49         extern void __cfaabi_bits_print_nolock( int fd, const char fmt[], ... ) __attribute__(( format(printf, 2, 3) ));
    50         extern void __cfaabi_bits_print_vararg( int fd, const char fmt[], va_list arg );
    51         extern void __cfaabi_bits_print_buffer( int fd, char buffer[], int buffer_size, const char fmt[], ... ) __attribute__(( format(printf, 4, 5) ));
     48        extern int __cfaabi_bits_print_safe  ( int fd, const char fmt[], ... ) __attribute__(( format(printf, 2, 3) ));
     49        extern int __cfaabi_bits_print_nolock( int fd, const char fmt[], ... ) __attribute__(( format(printf, 2, 3) ));
     50        extern int __cfaabi_bits_print_vararg( int fd, const char fmt[], va_list arg );
     51        extern int __cfaabi_bits_print_buffer( int fd, char buffer[], int buffer_size, const char fmt[], ... ) __attribute__(( format(printf, 4, 5) ));
    5252
    5353#if defined(__CFA_DEBUG_PRINT__) \
Note: See TracChangeset for help on using the changeset viewer.