Library call question

Discussion in 'C Programming' started by nysfp@hotmail.com, Oct 2, 2003.

  1. Guest

    Library call question:
    How to read block of data using
    Read ( unsigned char * Buf ,
    unsigned long * BufSize );
    ??




    --
    Sent by nysfp from hotmail part from com
    This is a spam protected message. Please answer with reference header.
    Posted via http://www.usenet-replayer.com/cgi/content/new
    , Oct 2, 2003
    #1
    1. Advertising

  2. Jack Klein Guest

    On Thu, 02 Oct 2003 02:34:36 GMT,
    -mobilphone.net () wrote in
    comp.lang.c:

    > Library call question:
    > How to read block of data using
    > Read ( unsigned char * Buf ,
    > unsigned long * BufSize );
    > ??


    Read from where?

    There is no C library function named "Read", or even "read".

    You could use fread() to read from a FILE * stream, provided that the
    value pointed to by the pointer was within the positive range of
    signed long on your system, but you need to provide the FILE pointer.

    If you're not talking about fread(), you're off-topic here and need to
    ask in a compiler or operating system specific group.

    --
    Jack Klein
    Home: http://JK-Technology.Com
    FAQs for
    comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
    comp.lang.c++ http://www.parashift.com/c -faq-lite/
    alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c /faq
    Jack Klein, Oct 2, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mythran
    Replies:
    0
    Views:
    2,420
    Mythran
    Aug 24, 2004
  2. Alan Ferrandiz [MCT]
    Replies:
    0
    Views:
    445
    Alan Ferrandiz [MCT]
    Sep 11, 2004
  3. Sweep

    Library in library...

    Sweep, Dec 8, 2003, in forum: C++
    Replies:
    1
    Views:
    386
    Jack Klein
    Dec 9, 2003
  4. system call and library call

    , Aug 22, 2005, in forum: C Programming
    Replies:
    7
    Views:
    3,012
    Jonathan Bartlett
    Aug 23, 2005
  5. leoman730

    System call and library call

    leoman730, May 3, 2007, in forum: C++
    Replies:
    6
    Views:
    915
    Jim Langston
    May 6, 2007
Loading...

Share This Page