Adding documentation and some minor reformatting to ensure consistency

This commit is contained in:
Russell-S-Harper
2025-06-21 08:48:41 -04:00
parent 8bfaaa60ba
commit 7f40affb59
3 changed files with 42 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
** Modified: <iso-date> <author>
** Notes: <e.g. revisions made to support target, edge cases, bugs, etc.>
**
** char* __fastcall__ cgets (char *buffer, int size);
** char* __fastcall__ cgets (char* buffer, int size);
*/
#include <stddef.h>
@@ -14,7 +14,7 @@
#define CRLF "\r\n"
#endif /* CRLF */
char* __fastcall__ cgets (char *buffer, int size)
char* __fastcall__ cgets (char* buffer, int size)
/* Get a string of characters directly from the console. The function returns
** when size - 1 characters or either CR/LF are read. Note the parameters are
** more aligned with stdio fgets() as opposed to the quirky "standard" conio