We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4d497a commit d6350d7Copy full SHA for d6350d7
hardware/arduino/avr/cores/arduino/WString.h
@@ -147,6 +147,7 @@ class String
147
void getBytes(unsigned char *buf, unsigned int bufsize, unsigned int index=0) const;
148
void toCharArray(char *buf, unsigned int bufsize, unsigned int index=0) const
149
{getBytes((unsigned char *)buf, bufsize, index);}
150
+ const char * c_str() const { return buffer; }
151
152
// search
153
int indexOf( char ch ) const;
0 commit comments