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...
Type: Posts; User: me_ansh
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...
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...
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...
ok, Let me elaborate, i have a text file that contains lines like:
ABCD 6 0
EFGH 1 0
and so on.....
what i...
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...
Some more information is required...may be a bit of server code that is causing problems??
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...