Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/sys/utimensat.2
Show All 25 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" @(#)utimes.2 8.1 (Berkeley) 6/4/93 | .\" @(#)utimes.2 8.1 (Berkeley) 6/4/93 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd February 23, 2021 | .Dd March 30, 2021 | ||||
.Dt UTIMENSAT 2 | .Dt UTIMENSAT 2 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm futimens , | .Nm futimens , | ||||
.Nm utimensat | .Nm utimensat | ||||
.Nd set file access and modification times | .Nd set file access and modification times | ||||
.Sh LIBRARY | .Sh LIBRARY | ||||
.Lb libc | .Lb libc | ||||
▲ Show 20 Lines • Show All 107 Lines • ▼ Show 20 Lines | |||||
Only walk paths below the directory specified by the | Only walk paths below the directory specified by the | ||||
.Ar fd | .Ar fd | ||||
descriptor. | descriptor. | ||||
See the description of the | See the description of the | ||||
.Dv O_RESOLVE_BENEATH | .Dv O_RESOLVE_BENEATH | ||||
flag in the | flag in the | ||||
.Xr open 2 | .Xr open 2 | ||||
manual page. | manual page. | ||||
.It Dv AT_EMPTY_PATH | |||||
If the | |||||
.Fa path | |||||
argument is an empty string, operate on the file or directory | |||||
referenced by the descriptor | |||||
.Fa fd . | |||||
If | |||||
.Fa fd | |||||
is equal to | |||||
.Dv AT_FDCWD , | |||||
operate on the current working directory. | |||||
.El | .El | ||||
.Sh RETURN VALUES | .Sh RETURN VALUES | ||||
.Rv -std | .Rv -std | ||||
.Sh COMPATIBILITY | .Sh COMPATIBILITY | ||||
If the running kernel does not support this system call, | If the running kernel does not support this system call, | ||||
a wrapper emulates it using | a wrapper emulates it using | ||||
.Xr fstatat 2 , | .Xr fstatat 2 , | ||||
.Xr futimesat 2 | .Xr futimesat 2 | ||||
▲ Show 20 Lines • Show All 146 Lines • Show Last 20 Lines |