Skip to content

Add code for fcurl_fgets() #3

Description

@andy5995

You want a function that essentially does what fgets() does but you don't want to use fgets()?

fcurl/src/fcurl.c

Lines 237 to 244 in b50c7e0

char *fcurl_fgets(char *ptr, size_t size, struct fcurl_handle *file)
{
size_t want = size - 1;/* always need to leave room for zero termination */
/* add code */
return ptr;/*success */
}

I may be able to work on this but I'm not clear yet on the goal.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions