X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Freadwrite.h;fp=src%2Fcommon%2Freadwrite.h;h=0000000000000000000000000000000000000000;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hp=ac3668a5ae801c8461b3a0a0a0cd0413935f1c51;hpb=4878de5c7deb512bbdac4fdfc498907efa06fb7c;p=lttng-tools.git diff --git a/src/common/readwrite.h b/src/common/readwrite.h deleted file mode 100644 index ac3668a5a..000000000 --- a/src/common/readwrite.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef LTTNG_COMMON_READWRITE_H -#define LTTNG_COMMON_READWRITE_H - -/* - * Copyright (C) 2013 Mathieu Desnoyers - * - * SPDX-License-Identifier: LGPL-2.1-only - * - */ - -#include -#include - -/* - * lttng_read and lttng_write take care of EINTR and partial read/write. - * Upon success, they return the "count" received as parameter. - * They can return a negative value if an error occurs. - * If a value lower than the requested "count" is returned, it means an - * error occurred. - * The error can be checked by querying errno. - */ -ssize_t lttng_read(int fd, void *buf, size_t count); -ssize_t lttng_write(int fd, const void *buf, size_t count); - -#endif /* LTTNG_COMMON_READWRITE_H */