Search:

Type: Posts; User: webwesen

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    5,929

    thanks, ppl. you have really helped. see ya

    thanks, ppl.
    you have really helped.

    see ya
  2. Replies
    6
    Views
    5,929

    thanks, Sandra. would it be a good idea to...

    thanks, Sandra.

    would it be a good idea to use:



    unsigned b1, b2, b3, b4;
    unsigned char c;
    int abc = sscanf(ipadd, "%3u.%3u.%3u.%3u%c", &b1, &b2, &b3, &b4, &c);
  3. Replies
    6
    Views
    5,929

    increment IP addresses - newbie Q.

    sorry if this has been answered before- 'search' didn't return anything though...

    I use a gethostbyname() to get an IP address: 10.10.10.3

    I need a procedure to fill an array with a range of...
  4. Replies
    26
    Views
    8,606

    --- Yeah. Why are you bothering with low level...

    ---
    Yeah. Why are you bothering with low level functions such as 'open' and 'close' when you can just use 'fopen' etc? Shrug. Just curious.
    ---

    to avoid the sometimes large overhead of higher...
  5. Replies
    26
    Views
    8,606

    folks, I have found the following: ...

    folks, I have found the following:

    -------------


    #define BUFSIZE (4 * 1024)

    ...

    int src_fd, dst_fd;
  6. Replies
    3
    Views
    5,673

    thnks

    thanks Jason!
    your help is appreciated
  7. Replies
    3
    Views
    5,673

    newbie: memset before snprintf

    hello gurus,

    I have the following code:

    char em[_POSIX_PATH_MAX];
    memset(em, 0, _POSIX_PATH_MAX);
    snprintf(em, sizeof(em), "%s/db/abc", root_ptr);

    is memset needed here, or will snprintf...
  8. Replies
    26
    Views
    8,606

    thanks

    thanks
  9. Replies
    26
    Views
    8,606

    very newbie question: how to copy files

    hello,

    sorry for a very newbie question:
    how to do the same as "cp -p file1 file2"
    using library functions?

    thanks!!!
  10. Replies
    3
    Views
    2,163

    thanks, people.

    thanks, people.
Results 1 to 10 of 10