Changeset e3c762cd in mainline for generic/src/printf/vsnprintf.c


Ignore:
Timestamp:
2006-05-05T11:59:19Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
de07bcf
Parents:
22cf454d
Message:

Complete implementation of copy_from_uspace() and copy_to_uspace()
for amd64 and ia32. Other architectures still compile and run,
but need to implement their own assembly-only memcpy(), memcpy_from_uspace(),
memcpy_to_uspace() and their failover parts. For these architectures
only dummy implementations are provided.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/printf/vsnprintf.c

    r22cf454d re3c762cd  
    4040
    4141/** Write string to given buffer.
    42  * Write at most data->size characters including trailing zero. According to C99 has snprintf to return number
     42 * Write at most data->size characters including trailing zero. According to C99, snprintf() has to return number
    4343 * of characters that would have been written if enough space had been available. Hence the return value is not
    44  * number of really printed characters but size of input string. Number of really used characters
     44 * number of really printed characters but size of the input string. Number of really used characters
    4545 * is stored in data->len.
    4646 * @param str source string to print
     
    9191        return printf_core(fmt, &ps, ap);
    9292}
    93 
    94 
Note: See TracChangeset for help on using the changeset viewer.