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 99f2a27 commit 19e4d38Copy full SHA for 19e4d38
hardware/arduino/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
+ char* c_str() const { return buffer; }
151
152
// search
153
int indexOf( char ch ) const;
0 commit comments