Searched refs:MAXDATASIZE (Results 1 – 2 of 2) sorted by relevance
21 #define MAXDATASIZE 1065537 macro42 char buf[MAXDATASIZE]; in main()98 if (fgets(buf, MAXDATASIZE, stdin) == NULL) { in main()106 for (i = 0; i < MAXDATASIZE - 2; i++) { in main()109 buf[MAXDATASIZE - 2] = '\n'; in main()110 buf[MAXDATASIZE - 1] = '\0'; in main()122 if ((numBytes = recv(new_fd, buf, MAXDATASIZE, 0)) == -1) { in main()
17 #define MAXDATASIZE 100 // max number of bytes we can get at once macro24 char buffer[MAXDATASIZE]; in main()