Changeset 1972 for trunk/src/emx/include


Ignore:
Timestamp:
May 6, 2005, 5:36:47 AM (20 years ago)
Author:
bird
Message:

[lf]utimes.

Location:
trunk/src/emx/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/InnoTekLIBC/backend.h

    • Property cvs2svn:cvs-rev changed from 1.21 to 1.22
    r1971 r1972  
    289289
    290290/**
    291  * Sets the file access mode of a file.
     291 * Sets the file access mode of a symlink.
    292292 *
    293293 * @returns 0 on success.
     
    297297 */
    298298int __libc_Back_fsSymlinkModeSet(const char *pszPath, mode_t Mode);
     299
     300/**
     301 * Sets the file times of a symlink.
     302 *
     303 * @returns 0 on success.
     304 * @returns Negative error code (errno.h) on failure.
     305 * @param   pszPath The path to the file to set the mode of.
     306 * @param   paTimes Two timevalue structures. If NULL the current time is used.
     307 */
     308int __libc_Back_fsSymlinkTimesSet(const char *pszPath, const struct timeval *paTimes);
    299309
    300310/**
     
    338348 */
    339349int __libc_Back_fsFileModeSetFH(int fh, mode_t Mode);
     350
     351/**
     352 * Sets the file the times of a file.
     353 *
     354 * @returns 0 on success.
     355 * @returns Negative error code (errno.h) on failure.
     356 * @param   pszPath The path to the file to set the times of.
     357 * @param   paTimes Two timevalue structures. If NULL the current time is used.
     358 */
     359int __libc_Back_fsFileTimesSet(const char *pszPath, const struct timeval *paTimes);
     360
     361/**
     362 * Sets the file the times of a file by filehandle.
     363 *
     364 * @returns 0 on success.
     365 * @returns Negative error code (errno.h) on failure.
     366 * @param   fh      Handle to file.
     367 * @param   paTimes Two timevalue structures. If NULL the current time is used.
     368 */
     369int __libc_Back_fsFileTimesSetFH(int fh, const struct timeval *paTimes);
    340370
    341371/**
  • trunk/src/emx/include/sys/time.h

    • Property cvs2svn:cvs-rev changed from 1.9 to 1.10
    r1971 r1972  
    4141 * @changed IBM TCP paranoia.
    4242 * @changed Added hrtime_t and gethrtime from SUN/HP/RTLinux.
    43  * @todo    Implement futimes() and lutimes().
    4443 */
    4544
     
    326325__BEGIN_DECLS
    327326/** @todo int   adjtime(const struct timeval *, struct timeval *); */
    328 /** @todo int   futimes(int, const struct timeval *); */
     327int     futimes(int, const struct timeval *);
    329328int     getitimer(int, struct itimerval *);
    330329int     gettimeofday(struct timeval *, struct timezone *);
    331 /** @todo int   lutimes(const char *, const struct timeval *); */
     330int     lutimes(const char *, const struct timeval *);
    332331int     setitimer(int, const struct itimerval *, struct itimerval *);
    333332int     settimeofday(const struct timeval *, const struct timezone *);
Note: See TracChangeset for help on using the changeset viewer.