mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
Revert "libs/libc/dumpbuffer: add support to dump the buffer to file descriptor."
This reverts commit 080b380955.
This commit is contained in:
@@ -1021,23 +1021,11 @@ extern "C"
|
||||
void lib_dumpbuffer(FAR const char *msg, FAR const uint8_t *buffer,
|
||||
unsigned int buflen);
|
||||
|
||||
/* Dump a buffer of data to a specified file descriptor. */
|
||||
|
||||
void lib_writebuffer(int fd, FAR const char *msg,
|
||||
FAR const uint8_t *buffer, unsigned int buflen);
|
||||
|
||||
/* Do a pretty buffer dump from multiple buffers. */
|
||||
|
||||
void lib_dumpvbuffer(FAR const char *msg, FAR const struct iovec *iov,
|
||||
int iovcnt);
|
||||
|
||||
/* Do a pretty buffer dump from multiple buffers
|
||||
* to a specified file descriptor.
|
||||
*/
|
||||
|
||||
void lib_writevbuffer(int fd, FAR const char *msg,
|
||||
FAR const struct iovec *iov, int iovcnt);
|
||||
|
||||
/* The system logging interfaces are normally accessed via the macros
|
||||
* provided above. If the cross-compiler's C pre-processor supports a
|
||||
* variable number of macro arguments, then those macros below will map all
|
||||
|
||||
Reference in New Issue
Block a user