1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-27 05:40:17 +05:30
gists/c-programming/strings/portable_basename.h

19 lines
335 B
C
Raw Normal View History

2024-06-26 01:05:10 +05:30
/*
* portable_basename.h
*
* Author: Intel A80486DX2-66
* License: Unlicense
*/
#ifndef _PORTABLE_BASENAME_H
#define _PORTABLE_BASENAME_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
static char* correct_slashes(const char* path);
char* portable_basename(const char* raw_path);
#endif /* _PORTABLE_BASENAME_H */