%% %CopyrightBegin%
%%
%% SPDX-License-Identifier: Apache-2.0
%%
%% Copyright Ericsson AB 2021-2025. All Rights Reserved.
%%
%% %CopyrightEnd%

[;1m  sync(IoDevice)[0m

  Ensures that any buffers kept by the operating system (not by the
  Erlang runtime system) are written to disk. On some platforms,
  this function might have no effect.

  A typical error reason is:

   • [;;4menospc[0m - Not enough space left to write the file.
