www.delorie.com/djgpp/doc/libc/libc_522.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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

ANSI/ISO C No
POSIX No


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004