Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   sync.3p    ( 3 )

запланировать обновления файловой системы (schedule file system updates)

Пролог (Prolog)

This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.


Имя (Name)

sync — schedule file system updates


Синопсис (Synopsis)

#include <unistd.h>

void sync(void);


Описание (Description)

The sync() function shall cause all information in memory that updates file systems to be scheduled for writing out to all file systems.

The writing, although scheduled, is not necessarily complete upon return from sync().


Возвращаемое значение (Return value)

The sync() function shall not return a value.


Ошибки (Error)

No errors are defined.

The following sections are informative.


Примеры (Examples)

None.

Использование в приложениях (Application usage)

None.


Обоснование (Rationale)

None.


Будущие направления (Future directions)

None.


Смотри также (See also)

fsync(3p)

The Base Definitions volume of POSIX.1‐2017, unistd.h(0p)