/* $Id: direct.h 1674 2004-12-01 01:37:40Z bird $ */ /** @file * * direct.h - VAC/MSC legacy. * * Copyright (c) 2004 knut st. osmundsen * * * This file is part of InnoTek LIBC. * * InnoTek LIBC is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * InnoTek LIBC is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with InnoTek LIBC; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ #ifndef _DIRECT_H_ #define _DIRECT_H_ #include #include #if !defined(_MODE_T_DECLARED) && !defined(_MODE_T) typedef __mode_t mode_t; #define _MODE_T_DECLARED #define _MODE_T #endif #if !defined(_SIZE_T_DECLARED) && !defined(_SIZE_T) typedef __size_t size_t; #define _SIZE_T_DECLARED #define _SIZE_T #endif __BEGIN_DECLS int _chdir (__const__ char *); char *_getcwd (char *, size_t); int _mkdir (__const__ char *, long); int _rmdir (__const__ char *); int chdir (const char *); char *getcwd (char *, size_t); int mkdir(const char *, mode_t); int rmdir (const char *); int _chdrive(int); char * _getdcwd(int, char *, int); int _getdrive(void); /* Special LIBC addition. */ #ifdef __BSD_VISIBLE char *_getcwdux(char *, size_t); #endif __END_DECLS #endif