_splitpath(3w)

_splitpath3w

Usage

void _splitpath
(
const char* inpath,
char* drv,
char* dir,
char* fname,
char* ext
)

Overview

Split a path into its component pieces.

Params

inpath [In] Path to split.

drv [Out] Destination for drive component (e.g. "A:"). Must be at least 3 characters.

dir [Out] Destination for directory component. Should be at least MAX_PATH characters.

fname [Out] Destination for File name component. Should be at least MAX_PATH characters.

ext [Out] Destination for file extension component. Should be at least MAX_PATH characters.

Returns

Nothing.

Implementation

Declared in "tchar.h".

Implemented in "dlls/ntdll/string.c".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.