Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 – 7 of 7) sorted by relevance

/manual/examples/
A Dfilesrv.c34 int nbytes; in main() local
45 nbytes = recvfrom (sock, message, MAXMSG, 0, in main()
47 if (nbytes < 0) in main()
57 nbytes = sendto (sock, message, nbytes, 0, in main()
59 if (nbytes < 0) in main()
A Dmbstouwcs.c24 size_t nbytes = mbrtowc (&wc, s, len, &state); in mbstouwcs() local
25 if (nbytes == 0) in mbstouwcs()
31 else if (nbytes == (size_t) -2) in mbstouwcs()
38 else if (nbytes == (size_t) -1) in mbstouwcs()
48 len -= nbytes; in mbstouwcs()
49 s += nbytes; in mbstouwcs()
A Dfilecli.c38 int nbytes; in main() local
49 nbytes = sendto (sock, MESSAGE, strlen (MESSAGE) + 1, 0, in main()
51 if (nbytes < 0) in main()
58 nbytes = recvfrom (sock, message, MAXMSG, 0, NULL, 0); in main()
59 if (nbytes < 0) in main()
A Dinetsrv.c34 int nbytes; in read_from_client() local
36 nbytes = read (filedes, buffer, MAXMSG); in read_from_client()
37 if (nbytes < 0) in read_from_client()
43 else if (nbytes == 0) in read_from_client()
A Dinetcli.c34 int nbytes; in write_to_server() local
36 nbytes = write (filedes, MESSAGE, strlen (MESSAGE) + 1); in write_to_server()
37 if (nbytes < 0) in write_to_server()
/manual/
A Dcharset.texi702 the number of consumed bytes is stored in the variable @code{nbytes}.
766 size_t nbytes;
768 while ((nbytes = mbrlen (s, MB_LEN_MAX, &state)) > 0)
770 if (nbytes >= (size_t) -2)
773 s += nbytes;
913 size_t nbytes;
922 nbytes = wcrtomb (wp, *ws, &state);
923 if (nbytes == (size_t) -1)
926 len -= nbytes;
927 wp += nbytes;
A Dllio.texi638 nbytes = TEMP_FAILURE_RETRY (write (desc, buffer, count));

Completed in 22 milliseconds