Isn't there any function on Unix or Linux that gives time from start of the process rather than the epoch? Such a long time period from 1970 to now makes it so big in magnitude.
Type: Posts; User: coder_009
Isn't there any function on Unix or Linux that gives time from start of the process rather than the epoch? Such a long time period from 1970 to now makes it so big in magnitude.
Hi,
I've searched the topic on google and this website, but i could not find the exact answer what i was looking for.
For a certain scenario in my application (timestamps related) i need time...
yeah, i got it. Thanx a lot man !!!
Thanx guys ! problem is solved using fread(). Using "rb" in fopen works. But i'd also like to know about the _open();
anyways here it is, please tell me if i am missing something here
fd = _open("song.mp3",_O_RDONLY , _O_BINARY);
:) i did not lie. I also have the code that uses _open(), but since you guys stressed more on fopen, feof() so i posted this code.
Here's the code:
FILE *fp;
char data_byte;
int count=0;
fp = fopen("song.mp3","r");
if(fp==NULL)
Hi,
I am stuck with a weird problem that i am not able to understand.
I am trying to make a utility in C language that extracts a part of an MP3 file and writes it to an output file.
What...