Go to the first, previous, next, last section, table of contents.


lchown

Syntax

#include <unistd.h>

int lchown(const char *file, int owner, int group);

Description

This function does nothing under MS-DOS.

Return Value

This function always returns zero if the file exists (it does not follow symbolic links), else it returns -1 and sets errno to ENOENT.

Portability

not ANSI, not POSIX


Go to the first, previous, next, last section, table of contents.