File: chdir.h

package info (click to toggle)
perm 0.4.0-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 976 kB
  • sloc: cpp: 13,499; makefile: 98; sh: 12
file content (25 lines) | stat: -rw-r--r-- 690 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef CHDIR_H
#define CHDIR_H
#include "stdafx.h"
#include <ctype.h>
#include <string.h>
#include <sys/stat.h>

string get_working_directory(void);
char* get_working_directory(char* path);
int goto_working_directory(const char* path);
bool is_accessible_directory(const char * path);
int print_working_directory(void);
int toparentdir(void);
int tochilddir(const char* dirname);
int tosomedir(const char* path);
int tosiblingdir(const char* dirname);
int createdirsAlongPath(const char* path);
int createdir(const char* path);
int deletedir(const char* target);
int deletefile(const char* target);
int str2Int(const char* str);
char* getnamefrompath(char* Path, char* filename);

#endif