-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It uses the same value that would be returned by strlen(), which excludes the null termination.
On 02/20/2014 10:59 PM, Robin Gilks wrote: > Greetings all > > I've just started to migrate from the public domain Dallas tools (that go > way back to the DOS days as well as Linux) to OWFS and I'm a bit confused > about the C API interface. > > I take it that the buffer in OW_put for example is an ASCII string but > does it have to be null terminated and if so is the terminator included in > the length? If the terminator is not included in the buffer length then I > assume that it doesn't need one!! > > Cheers > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTB1jOAAoJEG+gBufEaU3YoxsH/Rx8CMboXM12YedNyV+hZdCP LIgeO2MbGrgQ80qGNaKZPAYp6yly68+f8T0whe/fZUPLMLpX+nS/55cR5AfR5QPl 2JAQ5TNVk/F4rJj9vbObGreLp7NvtZLO0tttaUDTlfgV+8rHH0OaSZ97/Mm5eUBi FzdysxWL5hwAM+APBKmghrb4Dr9EQKP5mFcTx7KS/Zej9oRChYCPrSslk+T/46ir K9KckAOy3krLPc7/9Q/sdmxjQCxK9aTz633acRogt6Qhh6h/zK/5VmtCGv5hB0aD lmA723CBhImvew7JE0WlbQflKstyFKtqcArzbljA5PbnBH2tzedfRo4PpKXRWeU= =6rpf -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers