You've already forked linux-packaging-mono
Imported Upstream version 6.4.0.150
Former-commit-id: 2cf3acd45014a53dda66c13f7378a88695d3c93e
This commit is contained in:
parent
7eed0321b0
commit
345224e2bc
@@ -1451,3 +1451,8 @@ int32_t SystemNative_LockFileRegion(intptr_t fd, int64_t offset, int64_t length,
|
||||
while ((ret = fcntl (ToFileDescriptor(fd), F_SETLK, &lockArgs)) < 0 && errno == EINTR);
|
||||
return ret;
|
||||
}
|
||||
|
||||
int32_t SystemNative_Symlink(const char* target, const char* linkPath)
|
||||
{
|
||||
return symlink(target, linkPath);
|
||||
}
|
||||
|
@@ -750,4 +750,11 @@ DLLEXPORT int32_t SystemNative_GetPeerID(intptr_t socket, uid_t* euid);
|
||||
*/
|
||||
DLLEXPORT int32_t SystemNative_LockFileRegion(intptr_t fd, int64_t offset, int64_t length, int16_t lockType);
|
||||
|
||||
/**
|
||||
* Creates a symbolic link at "linkPath", pointing at "target".
|
||||
* "target" may or may not exist (dangling symbolic links are valid filesystem objects)
|
||||
* Returns 0 on success; otherwise, returns -1 and errno is set.
|
||||
*/
|
||||
DLLEXPORT int32_t SystemNative_Symlink(const char* target, const char* linkPath);
|
||||
|
||||
END_EXTERN_C
|
||||
|
Reference in New Issue
Block a user