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

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

_read

Syntax

 
#include <io.h>

ssize_t _read(int fildes, void *buf, size_t nbyte);

Description

This is a direct connection to the MS-DOS read function call, int 0x21, %ah = 0x3f. No conversion is done on the data; it is read as raw binary data. This function can be hooked by the See section File System Extensions. If you don't want this, you should use See section _dos_read.

Return Value

The number of bytes read.

Portability

ANSI/ISO C No
POSIX No


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