Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

file_time(3alleg4) [opendarwin man page]

file_time(3alleg4)						  Allegro manual						file_time(3alleg4)

file_time - Returns the modification time of a file. Allegro game programming library. SYNOPSIS
#include <allegro.h> time_t file_time(const char *filename); DESCRIPTION
Returns the modification time (number of seconds since 00:00:00 GMT 1/1/1970) of a file. If the file does not exist or an error occurs, it will return zero and store the system error code in errno. SEE ALSO
file_exists(3alleg4), file_size_ex(3alleg4) Allegro version 4.4.2 file_time(3alleg4)

Check Out this Related Man Page

exrotscl(3alleg4)						  Allegro manual						 exrotscl(3alleg4)

exrotscl - Demonstrates rotate_scaled_sprite functions. Allegro game programming library. SYNOPSIS
#include <allegro.h> Example exrotscl DESCRIPTION
This example demonstrates rotate_scaled_sprite functions. SEE ALSO
BITMAP(3alleg4), END_OF_MAIN(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), acquire_screen(3alleg4), allegro_init(3alleg4), allegro_mes- sage(3alleg4), clear_to_color(3alleg4), create_bitmap(3alleg4), destroy_bitmap(3alleg4), draw_trans_sprite(3alleg4), fixed(3alleg4), font(3alleg4), ftofix(3alleg4), install_keyboard(3alleg4), key(3alleg4), keypressed(3alleg4), load_bitmap(3alleg4), makeacol(3alleg4), makecol(3alleg4), readkey(3alleg4), release_screen(3alleg4), rest(3alleg4), rotate_scaled_sprite(3alleg4), rotate_scaled_sprite_lit(3alleg4), rotate_scaled_sprite_trans(3alleg4), screen(3alleg4), set_alpha_blender(3alleg4), set_color_conver- sion(3alleg4), set_color_depth(3alleg4), set_gfx_mode(3alleg4), set_trans_blender(3alleg4), textout_centre_ex(3alleg4) Allegro version 4.4.2 exrotscl(3alleg4)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

File timestamp issue on HP servers

Hi All , I have a file which gets updated by a korn job daily . The file gets the latest timestamp on everyrun. But of late i have observed that the file timestamp gets modified to a older date ( Oct 25 2006 ) at some point in time of the day. This change has nothing to do with the job which... (5 Replies)
Discussion started by: siddaonline
5 Replies

2. UNIX for Dummies Questions & Answers

File timestamp

Hi, Could someone please tell me how to find the last modified date (date,hours,minutes,seconds) of a file in the format YYYY-MM-DD hh:mm:ss of a file using only standard HP-UX commands? I looked for options in "ls" command but I couldn't find any options for HP-UX which gets the date details... (4 Replies)
Discussion started by: stevefox
4 Replies

3. Shell Programming and Scripting

how to find file time using ksh

Hi , i need to extract only time for a file and i am using following code for this.. while read record1 do SQLQuery=`echo $Record1 | awk '{printf $0 }'` InputfileName=`echo $Record1 | awk '{printf $8 }'` ColumnNamesSPcomma=`echo $Record1 | awk '{printf $4 }'` filetime =`echo... (6 Replies)
Discussion started by: manmeet
6 Replies

4. Shell Programming and Scripting

Retain File Timestamp

There are directories of files that I have to run the dos2ux command on to get ride of the carriage return characters. Easy enough, but I have to retain the original timestamps on the files. I am thinking that I am going to have to strip off the timestamp for each file and convert it to unix time... (3 Replies)
Discussion started by: scotbuff
3 Replies

5. UNIX for Advanced & Expert Users

Retrieving accurate file timestamp

Hi Gurus, The requirement is to collect the timestamp of soft links and collect it in a file in the following pattern: This is the expected output: Pattern: MM/DD/YYYY hh:mi:ss filename Example: 12/26/2008 10:31:09 <Filename>.zip The closest way I could get was this: ls... (8 Replies)
Discussion started by: jidsh
8 Replies

6. Shell Programming and Scripting

Command to get File Timestamp including seconds [Aix 5.3]

Is there a command (like ls -l) to get the file time stamp including seconds? The ls -l gives only the HH:MM, No SS I don't have a C compiler to call stat() I don't a command like stat too. Please help. (8 Replies)
Discussion started by: firdousamir
8 Replies

7. Shell Programming and Scripting

Compare file timestamp with current date. Diff must be 1 hour.

Hello, I've created the script below to compare the content of two files with a delay of an hour. After an hour, the lines that exist in both files, will be printed and executed. The script now uses a counter to countdown 50 minutes. But what I would prefer is to check the file timestamp of... (3 Replies)
Discussion started by: taipan
3 Replies

8. Shell Programming and Scripting

Changing File Time Stamp (Bash Script)

I need some help recovering from a "slight" screwup. We just moved 3 TB of data from one RAID Array to another. Low lever archive files. This was done with a regular cp (for some reason) and now we have lost all the timestamps on the files, and we urgently need to get the timestamps back on these... (7 Replies)
Discussion started by: chj
7 Replies

9. Shell Programming and Scripting

file time stamp

Hi All, I am facing small problem. i want to print file time stamp on which date file has placed in the server. i have given some code but its not giving the year. any help appreciated. regards rajesh. (4 Replies)
Discussion started by: rajesh_pola
4 Replies

10. Shell Programming and Scripting

File Timestamp and date comparsion

Hi, I have many files in the source directory but I need to process with the latest timestamp file. I am using linux operating system. i want extract the file created timestamp( Ext_File_create_date=) With this format YYYYMMDD- i have searched the relevent command in the unix forms but did... (5 Replies)
Discussion started by: onesuri
5 Replies

11. Shell Programming and Scripting

Check file time stamp

Hi, I need help to read file in a directory on basis of time stamp. e.g. If file access in last 2 minutes it should not be copy to remote directory. Below is my script. #!/bin/ksh DATE=`date +"%Y-%m-%d_%H%M"` SEPARATER=" " exec < out_interfaces.cfg while read source_path... (10 Replies)
Discussion started by: qamar.alam
10 Replies

12. Shell Programming and Scripting

Calculating time windows from logfile timestamps

Hey all. I am working on some scripts in bash to perform a variety of functions; there are a variety of steps involved, and they must happen in a specific sequence; what I need help with is a way to calculate some differences in a timestamp in a logfile. One of the steps in the scripts I am... (3 Replies)
Discussion started by: danowar
3 Replies

13. Shell Programming and Scripting

Getting file timestamp in certain format

Hi all, I'm a Unix newbie and I need to get file timestamp in the following format: YYYYMMDD HH24:MM:SS example: 20120713 18:49:30 For start I've tried the following code, but I don't know how to display the year and even format the date: ls -l $filename | awk '{print $7 $6 $8}' My... (4 Replies)
Discussion started by: Braun
4 Replies

14. Shell Programming and Scripting

File timestamping issue

Hello, I am working on moving a data file to archive dir from the processing directory using the following lines in my FTP script. Sometimes the mv command does not work as the timestamp is is changed by seconds as the current date in the following code is changed. I have tried to use... (6 Replies)
Discussion started by: vidyab35
6 Replies

15. UNIX for Dummies Questions & Answers

Display files based on particular file timestamp

Hi, I have requirement to list out files that are created after particular file. ex. I have below files in my directory. I want to display files created after /dirdat/CG1/cg004440 file. ./dirdat/CG1/cg004438 09/07/14 0:44:05 ./dirdat/CG1/cg004439 09/07/14 6:01:48 ... (3 Replies)
Discussion started by: tmalik79
3 Replies