File: fmt_copybytes.3

package info (click to toggle)
libowfat 0.34-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,288 kB
  • sloc: ansic: 20,181; makefile: 16
file content (15 lines) | stat: -rw-r--r-- 464 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.TH fmt_copybytes 3
.SH NAME
fmt_copybytes \- write binary data
.SH SYNTAX
.B #include <libowfat/fmt.h>

size_t \fBfmt_copybytes\fP(char *\fIdest\fR,const char *\fIsource\fR, size_t limit);
.SH DESCRIPTION
fmt_copybytes copies \fIlimit\fP bytes from \fIsource\fP to \fIdest\fP and returns \fIlimit\fP.

This is a convenience wrapper interface around
\fImemcpy\fP/\fIbyte_copy\fP to make it work like the other fmt
functions.
.SH "SEE ALSO"
byte_copy(3), memcpy(3)