Changeset 3060 for trunk/src/lib/nt/ntutimes.h
- Timestamp:
- Sep 21, 2017, 5:11:07 PM (8 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/nt/ntutimes.h
r3049 r3060 1 1 /* $Id$ */ 2 2 /** @file 3 * MSC + NT u nlink and variations.3 * MSC + NT utimes and lutimes. 4 4 */ 5 5 6 6 /* 7 * Copyright (c) 2005-201 3knut st. osmundsen <bird-kBuild-spamx@anduin.net>7 * Copyright (c) 2005-2017 knut st. osmundsen <bird-kBuild-spamx@anduin.net> 8 8 * 9 9 * Permission is hereby granted, free of charge, to any person obtaining a … … 29 29 */ 30 30 31 #ifndef ___nt_ntu nlink_h32 #define ___nt_ntu nlink_h31 #ifndef ___nt_ntutimes_h 32 #define ___nt_ntutimes_h 33 33 34 34 #include "nttypes.h" 35 35 36 int birdUnlink(const char *pszFile); 37 int birdUnlinkW(const wchar_t *pwszFile); 38 int birdUnlinkEx(void *hRoot, const char *pszFile); 39 int birdUnlinkExW(void *hRoot, const wchar_t *pwszFile); 40 int birdUnlinkForced(const char *pszFile); 41 int birdUnlinkForcedW(const wchar_t *pwszFile); 42 int birdUnlinkForcedEx(void *hRoot, const char *pszFile); 43 int birdUnlinkForcedExW(void *hRoot, const wchar_t *pszFile); 44 int birdUnlinkForcedFast(const char *pszFile); 45 int birdUnlinkForcedFastW(const wchar_t *pwszFile); 46 int birdUnlinkForcedFastEx(void *hRoot, const char *pszFile); 47 int birdUnlinkForcedFastExW(void *hRoot, const wchar_t *pwszFile); 36 int birdUtimes(const char *pszFile, BirdTimeVal_T paTimes[2]); 37 int birdLUtimes(const char *pszFile, BirdTimeVal_T paTimes[2]); 48 38 49 #undef unlink 50 #define unlink(a_pszPath) birdUnlinkForced(a_pszPath) 39 #undef utimes 40 #define utimes(a_pszPath, a_paTimes) birdUtimes(a_pszPath, a_paTimes) 41 #undef lutimes 42 #define lutimes(a_pszPath, a_paTimes) birdLUtimes(a_pszPath, a_paTimes) 51 43 52 44 #endif
Note:
See TracChangeset
for help on using the changeset viewer.