Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

time_fields_from_filetime(3) [debian man page]

TIME_FIELDS_FROM_FILETIME(3)				       http://www.synce.org/				      TIME_FIELDS_FROM_FILETIME(3)

NAME
time_fields_from_filetime - convert between FILETIME and TIME_FIELDS SYNOPSIS
#include <synce.h> void time_fields_from_filetime(const FILETIME *filetime, TIME_FIELDS *timeFields); bool time_fields_to_filetime(const TIME_FIELDS *timeFields, const FILETIME *filetime); DESCRIPTION
The time_fields_from_filetime() function converts a FILETIME value into the existing broken down TIME_FIELDS struct pointed to by time- Fields. time_fields_to_filetime() does the reverse. typedef struct _TIME_FIELDS { CSHORT Year; /* Specifies a value from 1601 on. */ CSHORT Month; /* Specifies a value from 1 to 12. */ CSHORT Day; /* Specifies a value from 1 to 31. */ CSHORT Hour; /* Specifies a value from 0 to 23. */ CSHORT Minute; /* Specifies a value from 0 to 59. */ CSHORT Second; /* Specifies a value from 0 to 59. */ CSHORT Milliseconds; /* Specifies a value from 0 to 999. */ CSHORT Weekday; /* Specifies a value from 0 to 6 (Sunday to Saturday). */ } TIME_FIELDS; RETURN VALUE
The time_fields_to_filetime() function returns FALSE on encountering an invalid value, or TRUE if successful. SEE ALSO
synce(7) The SynCE Project 2007-08-26 TIME_FIELDS_FROM_FILETIME(3)

Check Out this Related Man Page

SYNCE_GET_CONNECTION_FILENAME(3)			       http://www.synce.org/				  SYNCE_GET_CONNECTION_FILENAME(3)

NAME
synce_get_connection_filename - get synce connection filename SYNOPSIS
#include <synce.h> bool synce_get_connection_filename(char ** filename); bool synce_set_connection_filename(const char * filename); bool synce_set_default_connection_filename(); DESCRIPTION
These functions are used with the vdccm(1) and dccm(1) connection daemons only. They are of no use when using odccm(1). synce_get_connection_filename() provides a string describing the location of the synce device connection file, written by (v)dccm. The default file is ~/.synce/active_connection. synce_set_connection_filename() sets an alternative connection file name to use. synce_set_default_connection_filename() resets the connection filename to its default value. RETURN VALUE
Returns true if successful. synce_get_connection_filename() fails and returns false if filename is an invalid pointer, or for any of the reasons synce_get_directory() would fail. synce_set_connection_filename() returns false if filename contains '..' or is too long. SEE ALSO
synce(7) synce_get_directory(3) The SynCE Project 2007-08-26 SYNCE_GET_CONNECTION_FILENAME(3)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to Set up a cronjob On 4th Sunday of every Month?

How to Set up a cronjob which will run On 4th Sunday of every Month at 8:00 PM :( (11 Replies)
Discussion started by: tp2115
11 Replies

2. Shell Programming and Scripting

Q's on Active Process Time

Is it possible to display active processes' Year,Month,Day,Hour,Minute,Second info of process start time ? Preferbly in the format "YYYY/MM/DD HH:MM:SS" ? I tried to do this with the ps command but it only gets the time or date. Any help will be greatly appreciated. Cheers Steve (4 Replies)
Discussion started by: stevefox
4 Replies

3. Red Hat

Cronjob setting

Hi there There's a script I would like to run daily every 5 minutes and this job should restart every 12:03AM so it would append to a new file with the following day date format instead of running and updating continuously into one log. I am not sure of the syntaxing, what I did was to set it... (9 Replies)
Discussion started by: hedkandi
9 Replies

4. Shell Programming and Scripting

Expect Script not running from cron. Full Paths used

My cron file. Copied $PATH # Minute Hour Day of Month Month Day of Week Command SHELL=/bin/ksh PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/perl/lib:/perl/lib/lib/perl5:/perl/scripts:.:/perl/lib/local:/home/popeye:/temp 0... (3 Replies)
Discussion started by: popeye
3 Replies