From c067e5580b26410eb3130f716f55c4e4d0831d51 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Mon, 24 Feb 2014 22:17:46 -0300 Subject: Create new OS module This module will contain all functions that perform OS calls such as IO, filesystem access, etc. --- src/os/fs.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/os/fs.c (limited to 'src/os/fs.c') diff --git a/src/os/fs.c b/src/os/fs.c new file mode 100644 index 0000000000..358b07e57b --- /dev/null +++ b/src/os/fs.c @@ -0,0 +1,25 @@ +/* vi:set ts=8 sts=4 sw=4: + * + * VIM - Vi IMproved by Bram Moolenaar + * + * Do ":help uganda" in Vim to read copying and usage conditions. + * Do ":help credits" in Vim to see a list of people who contributed. + * See README.txt for an overview of the Vim source code. + */ + +/* + * fs.c -- filesystem access + */ + +#include + +#include "os.h" + +int mch_chdir(char *path) { + if (p_verbose >= 5) { + verbose_enter(); + smsg((char_u *)"chdir(%s)", path); + verbose_leave(); + } + return uv_chdir(path); +} -- cgit