cp_client_write_string(3) - Linux man page

Name

cp_client_write, cp_client_write_string - write from a tcp connection

Synopsis

#include <cprops/client.h>

int cp_client_write(cp_client *client, char *buf, int len);

int cp_client_write_string(cp_client *client, cp_string *str);

Description

cp_client_write attempts to write len bytes to the connection associated with the cp_client client from the buffer buf. cp_client_write_string attempts to write the cp_string str to the client.

Return Value

the number of bytes successfully written on success or -1 on error.

See Also

cp_client_read(3)