Syscalls for SAM (GCC). More...
#include <stdio.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
Go to the source code of this file.
Functions | |
int | _close (int file) |
void | _exit (int status) |
int | _fstat (int file, struct stat *st) |
int | _getpid (void) |
int | _isatty (int file) |
void | _kill (int pid, int sig) |
int | _lseek (int file, int ptr, int dir) |
caddr_t | _sbrk (int incr) |
int | link (char *old, char *new) |
Variables | |
int | __ram_end__ |
int | _end |
int | errno |
Syscalls for SAM (GCC).
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
Definition in file syscalls.c.
int _close | ( | int | file | ) |
Definition at line 90 of file syscalls.c.
void _exit | ( | int | status | ) |
Definition at line 112 of file syscalls.c.
int _fstat | ( | int | file, |
struct stat * | st | ||
) |
Definition at line 95 of file syscalls.c.
int _getpid | ( | void | ) |
Definition at line 123 of file syscalls.c.
int _isatty | ( | int | file | ) |
Definition at line 102 of file syscalls.c.
void _kill | ( | int | pid, |
int | sig | ||
) |
Definition at line 118 of file syscalls.c.
int _lseek | ( | int | file, |
int | ptr, | ||
int | dir | ||
) |
Definition at line 107 of file syscalls.c.
caddr_t _sbrk | ( | int | incr | ) |
Definition at line 65 of file syscalls.c.
int link | ( | char * | old, |
char * | new | ||
) |
Definition at line 85 of file syscalls.c.
int __ram_end__ |
int _end |
int errno |