STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Functions | Variables
syscalls.c File Reference
#include <sys/stat.h>
#include <stdlib.h>
#include <errno.h>
#include <stdio.h>
#include <signal.h>
#include <time.h>
#include <sys/time.h>
#include <sys/times.h>

Go to the source code of this file.

Functions

int __io_putchar (int ch) __attribute__((weak))
 
int __io_getchar (void)
 
void initialise_monitor_handles ()
 
int _getpid (void)
 
int _kill (int pid, int sig)
 
void _exit (int status)
 
int _read (int file, char *ptr, int len)
 
int _write (int file, char *ptr, int len)
 
caddr_t _sbrk (int incr)
 
int _close (int file)
 
int _fstat (int file, struct stat *st)
 
int _isatty (int file)
 
int _lseek (int file, int ptr, int dir)
 
int _open (char *path, int flags,...)
 
int _wait (int *status)
 
int _unlink (char *name)
 
int _times (struct tms *buf)
 
int _stat (char *file, struct stat *st)
 
int _link (char *old, char *new)
 
int _fork (void)
 
int _execve (char *name, char **argv, char **env)
 

Variables

int errno
 
char ** environ = __env
 

Function Documentation

int __io_getchar ( void  )

Definition at line 61 of file syscalls.c.

int __io_putchar ( int  ch)
int _close ( int  file)

Definition at line 137 of file syscalls.c.

int _execve ( char *  name,
char **  argv,
char **  env 
)

Definition at line 200 of file syscalls.c.

void _exit ( int  status)

Definition at line 85 of file syscalls.c.

int _fork ( void  )

Definition at line 194 of file syscalls.c.

int _fstat ( int  file,
struct stat *  st 
)

Definition at line 143 of file syscalls.c.

int _getpid ( void  )

Definition at line 74 of file syscalls.c.

int _isatty ( int  file)

Definition at line 149 of file syscalls.c.

int _kill ( int  pid,
int  sig 
)

Definition at line 79 of file syscalls.c.

int _link ( char *  old,
char *  new 
)

Definition at line 188 of file syscalls.c.

int _lseek ( int  file,
int  ptr,
int  dir 
)

Definition at line 154 of file syscalls.c.

int _open ( char *  path,
int  flags,
  ... 
)

Definition at line 159 of file syscalls.c.

int _read ( int  file,
char *  ptr,
int  len 
)

Definition at line 91 of file syscalls.c.

caddr_t _sbrk ( int  incr)

Definition at line 114 of file syscalls.c.

int _stat ( char *  file,
struct stat *  st 
)

Definition at line 182 of file syscalls.c.

int _times ( struct tms *  buf)

Definition at line 177 of file syscalls.c.

int _unlink ( char *  name)

Definition at line 171 of file syscalls.c.

int _wait ( int *  status)

Definition at line 165 of file syscalls.c.

int _write ( int  file,
char *  ptr,
int  len 
)

Definition at line 103 of file syscalls.c.

void initialise_monitor_handles ( )

Definition at line 70 of file syscalls.c.

Variable Documentation

char** environ = __env

Definition at line 66 of file syscalls.c.

int errno

File : syscalls.c

Abstract : System Workbench Minimal System calls file

             For more information about which c-functions
          need which of these lowlevel functions
          please consult the Newlib libc-manual

Environment : System Workbench for MCU

Distribution: The file is distributed “as is,” without any warranty of any kind.

© COPYRIGHT(c) 2014 Ac6

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of Ac6 nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.