Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libc/sys/unlink.2
Show All 22 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. | ||||
.\" | .\" | ||||
.\" @(#)unlink.2 8.1 (Berkeley) 6/4/93 | .\" @(#)unlink.2 8.1 (Berkeley) 6/4/93 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd June 6, 2019 | .Dd March 30, 2020 | ||||
.Dt UNLINK 2 | .Dt UNLINK 2 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm unlink , | .Nm unlink , | ||||
.Nm unlinkat , | .Nm unlinkat , | ||||
.Nm funlinkat | .Nm funlinkat | ||||
.Nd remove directory entry | .Nd remove directory entry | ||||
.Sh LIBRARY | .Sh LIBRARY | ||||
▲ Show 20 Lines • Show All 130 Lines • ▼ Show 20 Lines | |||||
set. | set. | ||||
.It Bq Er EPERM | .It Bq Er EPERM | ||||
The directory containing the file is marked sticky, | The directory containing the file is marked sticky, | ||||
and neither the containing directory nor the file to be removed | and neither the containing directory nor the file to be removed | ||||
are owned by the effective user ID. | are owned by the effective user ID. | ||||
.It Bq Er EIO | .It Bq Er EIO | ||||
An I/O error occurred while deleting the directory entry | An I/O error occurred while deleting the directory entry | ||||
or deallocating the inode. | or deallocating the inode. | ||||
.It Bq Er EINTEGRITY | |||||
Corrupted data was detected while reading from the file system. | |||||
.It Bq Er EROFS | .It Bq Er EROFS | ||||
The named file resides on a read-only file system. | The named file resides on a read-only file system. | ||||
.It Bq Er EFAULT | .It Bq Er EFAULT | ||||
The | The | ||||
.Fa path | .Fa path | ||||
argument | argument | ||||
points outside the process's allocated address space. | points outside the process's allocated address space. | ||||
.It Bq Er ENOSPC | .It Bq Er ENOSPC | ||||
▲ Show 20 Lines • Show All 105 Lines • Show Last 20 Lines |