summaryrefslogtreecommitdiff
path: root/lib/libc/sys/rename.2
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line nroff patternWarner Losh2023-08-231-1/+0
| | | | | | | Remove /^\.\\"\s*\$FreeBSD\$$\n/ Similar commit in main: (cherry picked from commit b2c76c41be32)
* Document EINTEGRITY errors for many system calls.John Baldwin2020-03-301-1/+3
| | | | | | | | | | | | | | | | | | | EINTEGRITY was previously documented as a UFS-specific error for mount(2). This documents EINTEGRITY as a filesystem-independent error that may be reported by the backing store of a filesystem. While here, document EIO as a filesystem-independent error for both mount(2) and posix_fadvise(2). EIO was previously only documented for UFS for mount(2). Reviewed by: mckusick Suggested by: mckusick MFC after: 2 weeks Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D24168 Notes: svn path=/head/; revision=359465
* Add some words clarifying that rename(2) does nothing when the 'from' andIan Lepore2018-06-211-1/+10
| | | | | | | | 'to' args are the same file. Wording borrowed from POSIX.1-2017, but the freebsd code to implement this behavior was added in 2002 (r103180). Notes: svn path=/head/; revision=335489
* rename(2): document capability mode errorsEd Maste2017-09-151-1/+24
| | | | | | | | | | Reviewed by: allanjude MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D12339 Notes: svn path=/head/; revision=323623
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Add one more EACCES clause to rename.2.Edward Tomasz Napierala2008-11-071-0/+5
| | | | | | | Approved by: rwatson (mentor) Notes: svn path=/head/; revision=184750
* Man pages for the openat(2), fexecve(2) and related syscalls.Konstantin Belousov2008-04-161-1/+78
| | | | | | | Reviewed by: ru Notes: svn path=/head/; revision=178245
* Per Regents of the University of Calfornia letter, remove advertisingWarner Losh2007-01-091-4/+0
| | | | | | | | | clause. # If I've done so improperly on a file, please let me know. Notes: svn path=/head/; revision=165903
* - If the parent directory of the file pointed at by the from argument has itsPawel Jakub Dawidek2006-12-091-0/+8
| | | | | | | | | immutable or append-only flag set, rename(2) returns EPERM. - If the parent directory of the file pointed at by the to argument has its immutable flag set, rename(2) returns EPERM. Notes: svn path=/head/; revision=165043
* When immutable, undeletable or append-only flag is set, rename(2)Pawel Jakub Dawidek2006-12-091-1/+8
| | | | | | | return EPERM. Notes: svn path=/head/; revision=165041
* Back out the previous change to rename.2. The previous rename()Don Lewis2006-01-221-3/+0
| | | | | | | | | | | | | | | | | behaviour of returning EINVAL when ".." is passed as either argument has been restored. rmdir("..") now returns EINVAL instead of EPERM. Document the previously undocumented behaviour of rmdir(".") returning EINVAL as required by POSIX and SUSv3. Bump the man page change date. undelete("..") now returns EINVAL instead of EPERM. Bump the man page change date. MFC after: 3 days Notes: svn path=/head/; revision=154691
* rename(), rmdir(), and undelete() fail with EPERM if the last componentDon Lewis2006-01-211-0/+3
| | | | | | | | | of the path is "..". MFC after: 3 days Notes: svn path=/head/; revision=154655
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+2
| | | | Notes: svn path=/head/; revision=131504
* Fixed the abuses of .Ql visible on stderr in troff mode.Ruslan Ermilov2002-12-231-6/+6
| | | | | | | PR: docs/37176 Notes: svn path=/head/; revision=108221
* mdoc(7) police: "The .Fa argument.".Ruslan Ermilov2002-12-191-4/+13
| | | | Notes: svn path=/head/; revision=108087
* mdoc(7) police: Fixed abuses of the .Ar and .Em macros.Ruslan Ermilov2002-12-181-1/+1
| | | | Notes: svn path=/head/; revision=108040
* mdoc(7) police: Tidy up the syscall language.Ruslan Ermilov2002-12-181-4/+10
| | | | | | | | | | | | | Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe. Notes: svn path=/head/; revision=108028
* Bump p1003.1-90 to p1003.1-96.Brian Feldman2001-11-291-1/+1
| | | | Notes: svn path=/head/; revision=87082
* rename() can't guarantee "to" always exists if it didn't exist in the firstGregory Neil Shapiro2001-11-291-1/+3
| | | | | | | | | | | place -- for example, rename("existing", "newfile"); on a read-only file system. Reviewed by: green MFC after: 3 days Notes: svn path=/head/; revision=87080
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-011-1/+1
| | | | Notes: svn path=/head/; revision=84306
* Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.Yaroslav Tykhiy2001-08-091-5/+1
| | | | | | | Reviewed by: ru Notes: svn path=/head/; revision=81352
* Remove whitespace at EOL.Dima Dorfman2001-07-151-5/+5
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79531
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-291-1/+1
| | | | Notes: svn path=/head/; revision=70481
* Use `Er' variable to define first column width in ERRORS section. It wasAlexey Zelkin2000-05-041-1/+1
| | | | | | | initially suggested by mdoc(7) style, but was broken over the years Notes: svn path=/head/; revision=59954
* Introduce ".Lb" macro to libc manpages.Alexey Zelkin2000-04-211-0/+2
| | | | | | | More libraries manpages updates following. Notes: svn path=/head/; revision=59460
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Commit out caveat about hardlinks to directories since they areSteve Price1998-12-131-27/+27
| | | | | | | | | no longer possible. PR: 8337 Notes: svn path=/head/; revision=41750
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22993
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Remove the EINVAL error from the ERRORS sections thatMike Pritchard1997-01-111-3/+1
| | | | | | | | say is means that a pathname had the high-order bit set, since this is no longer an error. Notes: svn path=/head/; revision=21570
* upgrade STANDARDS from POSIX 1003.1-88 to 1003.1-90 using .St macroWolfram Schneider1996-12-021-4/+5
| | | | | | | | | use ``is expected to conform to'' phrase, not ``conforms to'' Pointed out by: Bruce->NIST-PCTS Notes: svn path=/head/; revision=20097
* add missing comma(s) in .Xr macrosWolfram Schneider1996-09-231-1/+2
| | | | Notes: svn path=/head/; revision=18480
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+199
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573