]> andersk Git - openssh.git/blobdiff - bsd-misc.h
- (bal) utimes() support via utime() interface on machine that lack utimes().
[openssh.git] / bsd-misc.h
index ae2b3fffff6ea58ae2576a8b343f3f029ca23f91..e02c6678335f0ad53efd59091ed74bd4008583d4 100644 (file)
 
 #include "config.h"
 
+char *get_progname(char *argv0);
+
 #ifndef HAVE_SETSID
 #define setsid() setpgrp(0, getpid())
 #endif /* !HAVE_SETSID */
 
-
 #ifndef HAVE_SETENV
 int setenv(const char *name, const char *value, int overwrite);
 #endif /* !HAVE_SETENV */
@@ -53,4 +54,17 @@ int seteuid(uid_t euid);
 const char *strerror(int e);
 #endif 
 
+
+#ifndef HAVE_UTIMES
+#ifndef HAVE_STRUCT_TIMEVAL
+struct timeval {
+       long tv_sec;
+       long tv_usec;
+}
+#endif /* HAVE_STRUCT_TIMEVAL */
+
+int utimes(char *filename, struct timeval *tvp);
+#endif /* HAVE_UTIMES */
+
+
 #endif /* _BSD_MISC_H */
This page took 0.037095 seconds and 4 git commands to generate.