2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2000 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
26 char * getcwd(char * buffer, size_t size);
28 int chdir(char const * name);
29 /// generates a checksum
30 unsigned long sum(char const * file);
31 /// returns a date string (not used currently)
33 /// returns the name of the user (not used currently)
36 int kill(long int pid, int sig);
40 int mkdir(char const * pathname, unsigned long int mode);
42 int putenv(char const * str);
48 static char * getcwd(char * buffer, size_t size);
50 static int chdir(char const * name);
51 /// generates a checksum
52 static unsigned long sum(char const * file);
53 /// returns a date string (not used currently)
55 /// returns the name of the user (not used currently)
56 static string getUserName();
58 static int kill(long int pid, int sig);
62 static int mkdir(char const * pathname, unsigned long int mode);
64 static int putenv(char const * str);
66 #endif // CXX_WORKING_NAMESPACES