File: buffer_write.c

package info (click to toggle)
dq 20250201-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,408 kB
  • sloc: ansic: 13,644; python: 651; makefile: 382; sh: 336
file content (9 lines) | stat: -rw-r--r-- 174 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#include "writeall.h"
#include "buffer.h"

long long buffer_unixwrite(int fd, char *x, long long xlen) {

    if (writeall(fd, x, xlen) == -1) return -1;
    return xlen;
}