RTEMS  5.1
Functions | Variables
sync.c File Reference

Synchronize Data on Disk with Memory. More...

#include <unistd.h>
#include <stdio.h>
#include <rtems.h>
#include <rtems/score/thread.h>
#include <rtems/score/percpu.h>

Functions

int fdatasync (int)
 
void _fwalk (struct _reent *, void *)
 
void sync (void)
 

Variables

struct _reent *const _global_impure_ptr __ATTRIBUTE_IMPURE_PTR__
 

Detailed Description

Synchronize Data on Disk with Memory.

Function Documentation

◆ sync()

void sync ( void  )

This function operates by as follows: for all threads for all FILE * fsync() fdatasync()