Thread: Windows Versions Of GetLong And GetShort

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    265

    Windows Versions Of GetLong And GetShort

    Im seeking a windows function that does basically the same thing as getlong and getshort.

    unsigned int _getshort ( u_char *message_ptr );

    unsigned int _getlong ( u_char *message_ptr );


    linux users can simply check the manpage for more information.
    windows users can click here:
    http://h30097.www3.hp.com/docs/base_...3/0028____.HTM

    Thanks for your time.

  2. #2
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    Do you mean converting an ASCII digit such as '5' into its integer value, 5? Atoi() does that. That's all I could get from that manpage. It didn't tell me anything useful really.
    [email protected]
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  3. #3

  4. #4
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    So was I even close?
    [email protected]
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

Popular pages Recent additions subscribe to a feed