docs(check): adding the reason why i use this type
This commit is contained in:
parent
dbbae16630
commit
826ac4e09f
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2025/05/13 11:25:04 by rparodi #+# #+# */
|
/* Created: 2025/05/13 11:25:04 by rparodi #+# #+# */
|
||||||
/* Updated: 2025/05/13 14:14:44 by rparodi ### ########.fr */
|
/* Updated: 2025/05/13 14:20:47 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
* @brief function to check if the port is valid
|
* @brief function to check if the port is valid
|
||||||
*
|
*
|
||||||
* @param input input given bu the user
|
* @param input input given bu the user
|
||||||
* @return value between 1 and 65535 if valid, 0 if not
|
* @return value between 1 and 65535 if valid, 0 if not (on unsigned 16 bits)
|
||||||
*/
|
*/
|
||||||
unsigned short int valid_port(char *input)
|
unsigned short int valid_port(char *input)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue