Changeset 3817 for branches/libc-0.6/src/emx/include/InnoTekLIBC
- Timestamp:
- Feb 19, 2014, 2:40:34 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/include/InnoTekLIBC/backend.h
-
Property svn:mergeinfo
set to
/trunk/libc/include/InnoTekLIBC/backend.h merged eligible /trunk/libc/include/klibc/backend.h merged eligible
r3811 r3817 1 1 /* $Id$ */ 2 2 /** @file 3 *4 3 * LIBC - Backend header. 5 * 6 * Copyright (c) 2004 knut st. osmundsen <bird-srcspam@anduin.net> 7 * 4 */ 5 6 /* 7 * Copyright (c) 2004-2014 knut st. osmundsen <bird-srcspam@anduin.net> 8 8 * 9 9 * This file is part of InnoTek LIBC. … … 337 337 338 338 /** 339 * Changes the ownership and/or group, without following any final symlink. 340 * 341 * @returns 0 on success. 342 * @returns Negative error code (errno.h) on failure. 343 * @param pszPath Path to the file to modify ownership of. If this is a 344 * symbolic link, the link it self will modified. 345 * @param uid The user id of the new owner, pass -1 to not change it. 346 * @param gid The group id of the new group, pass -1 to not change it. 347 */ 348 int __libc_Back_fsSymlinkOwnerSet(const char *pszPath, uid_t uid, gid_t gid); 349 350 /** 339 351 * Stats a file. 340 352 * … … 396 408 */ 397 409 int __libc_Back_fsFileTimesSetFH(int fh, const struct timeval *paTimes); 410 411 /** 412 * Changes the ownership and/or group, following all symbolic links. 413 * 414 * @returns 0 on success. 415 * @returns Negative error code (errno.h) on failure. 416 * @param pszPath Path to the file to modify ownership of. 417 * @param uid The user id of the new owner, pass -1 to not change it. 418 * @param gid The group id of the new group, pass -1 to not change it. 419 */ 420 int __libc_Back_fsFileOwnerSet(const char *pszPath, uid_t uid, gid_t gid); 421 422 /** 423 * Changes the ownership and/or group. 424 * 425 * @returns 0 on success. 426 * @returns Negative error code (errno.h) on failure. 427 * @param fh Handle to file. 428 * @param uid The user id of the new owner, pass -1 to not change it. 429 * @param gid The group id of the new group, pass -1 to not change it. 430 */ 431 int __libc_Back_fsFileOwnerSetFH(int fh, uid_t uid, gid_t gid); 398 432 399 433 /** -
Property svn:mergeinfo
set to
Note:
See TracChangeset
for help on using the changeset viewer.