Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
coshcage authored May 5, 2024
1 parent 80d8993 commit e35dda5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/sixmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Name: sixmem.c
* Description: SI external memory function.
* Author: cosh.cage#hotmail.com
* File ID: 0714231200H0422240734L00389
* File ID: 0714231200H0505240225L00383
* License: GPLv2.
*/
#include "sixmem.h"
Expand Down Expand Up @@ -32,13 +32,7 @@
*/
void _siReadString(char * buf, FILE * fp)
{
size_t i = 0;
while ((i < BUFSIZ - 1) && (*buf = fgetc(fp)))
{
++buf;
++i;
}
buf[i] = '\0';
fgets(buf, BUFSIZ - 1, fp);
}

/* Attention: This Is An Internal Function. No Interface for Library Users.
Expand Down

0 comments on commit e35dda5

Please sign in to comment.