Hide lttng_ust_elf symbols
[lttng-ust.git] / src / lib / lttng-ust / lttng-ust-comm.c
index 2f96167e419601bf48e75c3ccc87f4b65a606ffa..c84594ba8c69408ce316eb83b3a057a11a6e7cbd 100644 (file)
@@ -357,24 +357,6 @@ static int got_timeout_env;
 
 static char *get_map_shm(struct sock_info *sock_info);
 
-ssize_t lttng_ust_read(int fd, void *buf, size_t len)
-{
-       ssize_t ret;
-       size_t copied = 0, to_copy = len;
-
-       do {
-               ret = read(fd, buf + copied, to_copy);
-               if (ret > 0) {
-                       copied += ret;
-                       to_copy -= ret;
-               }
-       } while ((ret > 0 && to_copy > 0)
-               || (ret < 0 && errno == EINTR));
-       if (ret > 0) {
-               ret = copied;
-       }
-       return ret;
-}
 /*
  * Returns the HOME directory path. Caller MUST NOT free(3) the returned
  * pointer.
This page took 0.023459 seconds and 4 git commands to generate.