Mwnci chown() Function

Syntax

chown(filename, uid, gid)

Description

The function chown() is used to change the numeric uid and gid of the named file.

Example

chown("/home/mwnci/file", 1000, 100)