MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

nsEmbedCString:get

« XPCOM API Reference

Summary

The get function returns a const pointer to the string's null-terminated, internal buffer.

 const char_type* get() const;

Example Code

 nsEmbedCString str("hello world");
 printf("%s\n", str.get());

Document Tags and Contributors

 Last updated by: Anonymous,