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

19 lines
335 B
C

/*
* 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 */