OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [libgloss/] [libnosys/] [lseek.c] - Blame information for rev 258

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/*
2
 * Stub version of lseek.
3
 */
4
 
5
#include "config.h"
6
#include <_ansi.h>
7
#include <_syslist.h>
8
#include <errno.h>
9
#undef errno
10
extern int errno;
11
#include "warning.h"
12
 
13
int
14
_DEFUN (_lseek, (file, ptr, dir),
15
        int   file  _AND
16
        int   ptr   _AND
17
        int   dir)
18
{
19
  errno = ENOSYS;
20
  return -1;
21
}
22
 
23
stub_warning(_lseek)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.