www.delorie.com/djgpp/doc/libc-2.01/libc_490.html   search  
Go to the first, previous, next, last section, table of contents.


_open

Syntax

#include <io.h>

int _open(const char *path, int attrib);

Description

This is a direct connection to the MS-DOS open function call, int 0x21, %ah = 0x3d. The file is set to binary mode.

Return Value

The new file descriptor, else -1 on error.


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

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997