Android-cuttlefish cvd tool
|
#include "sysdeps.h"
#include <sys/utsname.h>
#include <android-base/logging.h>
#include <android-base/stringprintf.h>
Functions | |
bool | set_tcp_keepalive (borrowed_fd fd, int interval_sec) |
static __inline__ void | disable_close_on_exec (borrowed_fd fd) |
Process | adb_launch_process (std::string_view executable, std::vector< std::string > args, std::initializer_list< int > fds_to_inherit) |
std::string | GetOSVersion (void) |
std::optional< ssize_t > | network_peek (borrowed_fd fd) |
Process adb_launch_process | ( | std::string_view | executable, |
std::vector< std::string > | args, | ||
std::initializer_list< int > | fds_to_inherit | ||
) |
|
static |
std::string GetOSVersion | ( | void | ) |
std::optional< ssize_t > network_peek | ( | borrowed_fd | fd | ) |
bool set_tcp_keepalive | ( | borrowed_fd | fd, |
int | interval_sec | ||
) |