cp_string_read(3) - Linux man page
Name
cp_string_read - read a string from an open file descriptorSynopsis
#include <cprops/str.h>cp_string *cp_string_read(int fd, int len);
Description
cp_string_read creates a new cp_string and reads up to len bytes from the open file descriptor fd, or if len is 0, reading continues until EOF is encountered.cp_string_read returns on any error, regardless of the number of bytes read.