Search Results

Search: Posts Made By: klafte
1,888
Posted By klafte
Setting time from application
Hello all,

I wish to set the time and date of the system from my application. (I write code in C ).

How can it be done?

I found the function stime() - but it gets time in seconds as a...
4,084
Posted By klafte
Hello Jim, What I was trying to do was...
Hello Jim,
What I was trying to do was simulating functions of an OS, which enables manually setting timestamps on files.

Thank you very much for your reply.
4,084
Posted By klafte
Set file's timestamp
Hello all,

In C - Is there a way of setting a timestamp for a file, and keeping it unchanged?

Status information of the file in structure stat is modified automatically, and therefore, as I...
2,176
Posted By klafte
Thank you very much. Again you have helped me a...
Thank you very much.
Again you have helped me a lot!
2,176
Posted By klafte
Mark End Of File
Hello,

I've realized, thanks to Jim, that in C - deleting a single record in a file is not possible.
Is there a way of moving the EOF of the file (and by that, discarding the last records of the...
4,791
Posted By klafte
Thank You
very much...!!!
4,791
Posted By klafte
I use the lseek() function prior to deletion...
I use the lseek() function prior to deletion...
4,791
Posted By klafte
Delete a single record from a file
Hello all,

Is there a function for deleting a single record from a file?

Thanks in advance...
5,260
Posted By klafte
thank you...
very much.
5,260
Posted By klafte
Create file with fixed record size
Hello all,

Linux - Is there any way of creating a new file and determining its record size upon creation?

open() and creat() do not refer to record size.

Thanks...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 04:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy