Search:

Type: Posts; User: me_ansh

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    2,474

    Ok.... I am working on Red-Hat linux and want to...

    Ok.... I am working on Red-Hat linux and want to achive my goal using C language....Is there a way through which i can get the last modification time of the text file...
  2. Replies
    8
    Views
    2,474

    Check for text file updation using C prog

    Hi,
    I am facing a problem, I am accessing a text file through my C program to fetch some values. The problem is that, i want to check whether the text file is updated before opening it, as i want to...
  3. Replies
    6
    Views
    1,522

    Ya, that is what i am asking...if i have ensured...

    Ya, that is what i am asking...if i have ensured by my regular expression that integers are present, then is there a possiblity that sscanf may return error??, if yes, then is there a specific case...
  4. Replies
    6
    Views
    1,522

    ok, Let me elaborate, i have a text file that...

    ok, Let me elaborate, i have a text file that contains lines like:

    ABCD 6 0
    EFGH 1 0

    and so on.....

    what i...
  5. Replies
    6
    Views
    1,522

    sscanf read error

    The man page of 'sscanf' says:

    "EOF is also returned if a read error occurs, in which case the error indicator for the stream (see ferror(3)) is set, and errno is set indicate the error"

    I am...
  6. Replies
    3
    Views
    3,703

    Some more information is required...may be a bit...

    Some more information is required...may be a bit of server code that is causing problems??
  7. Replies
    7
    Views
    3,994

    sprintf(temp , "%.*s", substring_length,...

    sprintf(temp , "%.*s", substring_length, substring_start);


    make sure that the data written to 'temp' does not exceed the memory allocated to temp, So, you can have a look at the function...
Results 1 to 7 of 7