Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gfs_utimes(3) [debian man page]

GFS_UTIMES(3)															     GFS_UTIMES(3)

NAME
gfs_utimes - set file access and modification times SYNOPSIS
#include <gfarm/gfarm.h> char *gfs_utimes (const char * gfarm_url, const struct gfarm_timespec * tsp); DESCRIPTION
gfs_utimes() sets the access and modification times of the file pointed to by the gfarm_url argument to the value of the tsp argument. The tsp argument is an array of gfarm_timespec structures. The first array member represents the access time, and the second member represents the modification time. The gfarm_timespec structure is: struct gfarm_timespec { unsigned int tv_sec; /* seconds */ unsigned int tv_nsec; /* nanoseconds */ }; If the tsp argument is a null pointer, the access and modification times of the file are set to the current time. RETURN VALUES
NULL The function terminated successfully. GFARM_ERR_GFARM_URL_PREFIX_IS_MISSING gfarm_url does not start with the gfarm: prefix. GFARM_ERR_NO_MEMORY Insufficient memory was available. GFARM_ERR_AUTHENTICATION User authentication failed when connecting to gfmd(8). GFARM_ERR_PERMISSION_DENIED gfarm_url points outside your accessible address space. GFARM_ERR_NO_SUCH_OBJECT gfarm_url does not exist. Others An error except the above occurred. The reason is shown by its pointed strings. SEE ALSO
gfs_stat(3) Gfarm 04 December 2003 GFS_UTIMES(3)

Check Out this Related Man Page

GFARM_URL_SECTION_REPLICATE_TO(3)										 GFARM_URL_SECTION_REPLICATE_TO(3)

NAME
gfarm_url_section_replicate_to - Create a file replica of a file section SYNOPSIS
#include <gfarm/gfarm.h> char *gfarm_url_section_replicate_to (const char *gfarm_url, char *section, char *dsthost); DESCRIPTION
gfarm_url_section_replicate_to() creates a file replica of a file section section of a file gfarm_url to a destination host dsthost. File section is an architecture name for executable files, or is a fragment index for a regular file. Note that a fragment index needs to be specified in string without any unnecessary space character and zero padding. RETURN VALUES
NULL The function terminated successfully. GFARM_ERR_NO_MEMORY Insufficient memory was available. GFARM_ERR_NO_SUCH_OBJECT A component used as a directory in gfarm_url does not exist. GFARM_ERR_TEXT_FILE_BUSY The file gfarm_url cannot be replicated because it is being updated by another process. Others An error except the above occurred. The reason is shown by its pointed strings. SEE ALSO
gfarm_url_section_replicate_from_to(3), gfarm_url_fragments_replicate(3) Gfarm 06 September 2005 GFARM_URL_SECTION_REPLICATE_TO(3)
Man Page