1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2025-03-20 21:34:18 +05:30
gists/c-programming/strings/portable_basename.h

20 lines
423 B
C

/*
* portable_basename.h
*
* Author: Intel A80486DX2-66
* License: Creative Commons Zero 1.0 Universal or Unlicense
* SPDX-License-Identifier: CC0-1.0 OR 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 */