MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / write_int

Function write_int

yolo_detector/darknet_opt/src/utils.c:371–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369}
370
371void write_int(int fd, int n)
372{
373 int next = write(fd, &n, sizeof(int));
374 if(next <= 0) error("read failed");
375}
376
377int read_all_fail(int fd, char *buffer, size_t bytes)
378{

Callers

nothing calls this directly

Calls 1

errorFunction · 0.85

Tested by

no test coverage detected