Search:

Type: Posts; User: ezwise

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    3,306

    Thaaaat got it. Thanks for the quick response!!

    Thaaaat got it. Thanks for the quick response!!
  2. Replies
    2
    Views
    3,306

    problem using 'memset'

    Given the following code:



    /* result */
    char result_ans[8];
    memset(&result_ans, ' ', (strlen(result_ans) - 1));
    result_ans[strlen(result_ans) - 1] = '\0';

    /* store */
  3. Replies
    6
    Views
    1,744

    Cool. I'll run on the assumption that the signal...

    Cool. I'll run on the assumption that the signal will interrupt the current command/function and return to the calling function where I can then evaluate the global variable... unless I hear...
  4. Replies
    6
    Views
    1,744

    the problem I see with continually checking a...

    the problem I see with continually checking a global "timedout" variable is that if the alarm signal interrupts a function that is waiting on network i/o (for example) and simply returns it back to...
  5. Replies
    6
    Views
    1,744

    Sorry if I was vague. Here is a more concrete...

    Sorry if I was vague. Here is a more concrete explanation...

    I have a set of functions that I want to include in a shared library. I have a timeout mechanism for each of these functions. Given...
  6. Replies
    6
    Views
    1,744

    Shared Library creation tips

    I'm creating a shared library for the first time and would appreciate it if someone could provide a little guidance. Specifically, are there any special considerations I should be aware of? I'm...
  7. Replies
    8
    Views
    2,552

    thanks all. I was able to find where I was...

    thanks all. I was able to find where I was freeing memory without an explicit corresponding 'malloc'. Also, I appreciate the referral to Electric Fence - this is a super-handy tool that I'll be...
  8. Replies
    8
    Views
    2,552

    Ok. Now, what to do with the output. Hmm. ...

    Ok. Now, what to do with the output. Hmm. Could someone tell me if this looks right or if I'm having problems with my libefence.a?



    (gdb) bt
    #0 0x1002c72c in do_abort () at print.c:27
    #1 ...
  9. Replies
    8
    Views
    2,552

    Thanks for the info. I've made the suggested...

    Thanks for the info. I've made the suggested corrections without luck, however, I'm sure that its a step in the right direction.

    So, any experience with a program that does everything correctly...
  10. Replies
    8
    Views
    2,552

    segmentation faults pervade

    I've been struggling with seg faults the entire time I've been developing my program, but I've been able to overcome until recently.

    I won't post the entire program (unless requested) since its...
Results 1 to 10 of 10