Functions | Variables
syscalls.c File Reference
`#include <errno.h>`
`#include <stdint.h>`
`#include <sys/stat.h>`
`#include "main.h"`

Go to the source code of this file.

## Functions
int | _fstat (int file, struct stat *st)
int | _close (int file)
int | _getpid (void)
int | _isatty (int file)
int | _lseek (int file, int ptr, int dir)
int | _kill (int pid, int sig)
int | _read (int file, char *ptr, int len)
int | _write (int file, char *ptr, int len)

## Variables
UART_HandleTypeDef | DEBUG_UART_HANDLE

## Function Documentation

## ◆ _close()

int _close | ( | int | file | ) |

Definition at line 23 of file syscalls.c.

## ◆ _fstat()

int _fstat | ( | int | file,
|  | struct stat * | st
| ) |  |

Definition at line 15 of file syscalls.c.

## ◆ _getpid()

int _getpid | ( | void |  | ) |

Definition at line 30 of file syscalls.c.

## ◆ _isatty()

int _isatty | ( | int | file | ) |

Definition at line 35 of file syscalls.c.

## ◆ _kill()

int _kill | ( | int | pid,
|  | int | sig
| ) |  |

Definition at line 51 of file syscalls.c.

## ◆ _lseek()

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

Definition at line 42 of file syscalls.c.

## ◆ _read()

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

Definition at line 60 of file syscalls.c.

## ◆ _write()

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

Definition at line 69 of file syscalls.c.

## Variable Documentation

## ◆ DEBUG_UART_HANDLE

UART_HandleTypeDef DEBUG_UART_HANDLE