# Misleading: Flash Read & Write functions - not strings

**URL:** <https://forum.sierrawireless.com/t/misleading-flash-read-write-functions-not-strings/1581>\
**Category:** Documentation feedback\
**Created:** [September 3, 2007, 8:05am UTC](https://forum.sierrawireless.com/t/misleading-flash-read-write-functions-not-strings/1581 "2007-09-03T08:05:49Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [September 3, 2007, 8:05am UTC](https://forum.sierrawireless.com/t/misleading-flash-read-write-functions-not-strings/1581/1 "2007-09-03T08:05:49Z")

</div>

> [@ADL User Guide for Open-AT](#):
>
> adl\_flhWrite  
> This function writes the flash object from … the provided string i[/i]

> [@ADL User Guide for Open-AT](#):
>
> adl\_flhRead  
> This function reads the flash object … and stores it in a string i[/i]

In ‘C’, the term “string” has a specific meaning; viz, a NUL-terminated array of char - therefore the above are misleading, as they do not provide or use the NUL-termination.

In other words, they are not “strings” in the ‘C’ sense of the word.

For an example of someone caught-out by this, see: [wavecom.com/modules/movie/sc … =6104#6104](http://www.wavecom.com/modules/movie/scenes/forums/viewtopic.php?p=6104#6104)

This is the same for both v3.03 and v3.12

---

_[View the full topic](https://forum.sierrawireless.com/t/misleading-flash-read-write-functions-not-strings/1581)._
