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 25 of file syscalls.c.

## ◆ _fstat()

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

Definition at line 16 of file syscalls.c.

## ◆ _getpid()

int _getpid | ( | void |  | ) |

Definition at line 33 of file syscalls.c.

## ◆ _isatty()

int _isatty | ( | int | file | ) |

Definition at line 39 of file syscalls.c.

## ◆ _kill()

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

Definition at line 57 of file syscalls.c.

## ◆ _lseek()

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

Definition at line 47 of file syscalls.c.

## ◆ _read()

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

Definition at line 67 of file syscalls.c.

## ◆ _write()

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

Definition at line 77 of file syscalls.c.

## Variable Documentation

## ◆ DEBUG_UART_HANDLE

UART_HandleTypeDef DEBUG_UART_HANDLE