2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright (C) 1995 Matthias Ettrich
8 * Copyright (C) 1995-1999 The LyX Team.
10 * ====================================================== */
17 // Where can I put this? I found the occurence of the same code
18 // three/four times. Don't you think it better to use a macro definition
19 // (an inlined member of some class)?
21 // This should have been a namespace
22 #ifdef CXX_WORKING_NAMESPACES
25 char * getcwd(char * buffer, size_t size);
27 int chdir(char const * name);
28 /// generates a checksum
29 unsigned long sum(char const * file);
30 /// returns a date string (not used currently)
32 /// returns the name of the user (not used currently)
35 int kill(long int pid, int sig);
39 int mkdir(char const * pathname, unsigned int mode);
41 int putenv(char const * str);
46 static char * getcwd(char * buffer, size_t size);
48 static int chdir(char const * name);
49 /// generates a checksum
50 static unsigned long sum(char const * file);
51 /// returns a date string (not used currently)
53 /// returns the name of the user (not used currently)
54 static string getUserName();
56 static int kill(long int pid, int sig);
60 static int mkdir(char const * pathname, unsigned int mode);
62 static int putenv(char const * str);
64 #endif // CXX_WORKING_NAMESPACES