[NTLUG:Discuss] OT : C problem - size of message
Greg Edwards
greg at nas-inet.com
Tue Sep 16 10:56:36 CDT 2003
fredjame wrote:
> [This is standard ANSI C on a UNIX machine]
> The program receives in the call, a pointer to a text message, and then
> includes that message in a mailing function.
> I need to know the size, in bytes, of the message.
> Any suggestions would be greatly appreciated.
> Thanks
>
A lot more detail, please.
Is the text message null terminated? If so, strlen().
--
Greg Edwards
New Age Software, Inc. - http://www.nas-inet.com
======================================================
Galactic Outlaw - http://goutlaw.nas-inet.com
The ultimate cyberspace adventure!
More information about the Discuss
mailing list