Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

abstract socket support #1497

Closed
wants to merge 1 commit into from
Closed

abstract socket support #1497

wants to merge 1 commit into from

Conversation

txdv
Copy link
Contributor

@txdv txdv commented Sep 25, 2014

fix #1486

fix #1486

+2 is because we have a prefix 0 and a suffix 0.

I think we should rename strlen2, because strlen kinda
radiates that it will return the size of the string without
the suffix 0. This function returns the total size needed
in memory.
@saghul
Copy link
Contributor

saghul commented Sep 25, 2014

This cannot be fixed without accepting a length parameter: #1486 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants