508 |
} |
} |
509 |
|
|
510 |
|
|
511 |
/** |
/**unnecessary |
512 |
* Reads in at most one less than size <code>characters</code> and |
* Reads in at most one less than size <code>characters</code> and |
513 |
* stores them into the buffer pointed to by s. Reading stops after |
* stores them into the buffer pointed to by s. Reading stops after |
514 |
* an EOF or a newline. If a newline is read, it is stored into the |
* an EOF or a newline. If a newline is read, it is stored into the |
515 |
* buffer. A '\0' is stored after the last character in the buffer. |
* buffer. A '\0' is stored after the last character in the buffer. |
516 |
* @param S A Socket_T object |
* @unnecessary S A Socket_T object |
517 |
* @param s A character buffer to store the string in |
* @unnecessary s A character buffer to store the string in |
518 |
* @param size The size of the string buffer, s |
* @param size The size of the string buffer, s |
519 |
* @return s on success, and NULL on error or when end of file occurs |
* @return s on success, and NULL on error or when end of file occurs |
520 |
* while no characters have been read. |
* while no characters have been read. |