| 1 | // Licensed to the .NET Foundation under one or more agreements. | 
|---|
| 2 | // The .NET Foundation licenses this file to you under the MIT license. | 
|---|
| 3 | // See the LICENSE file in the project root for more information. | 
|---|
| 4 |  | 
|---|
| 5 | /*** | 
|---|
| 6 | *wsplitpath_s.c - break down path name into components | 
|---|
| 7 | * | 
|---|
| 8 |  | 
|---|
| 9 | * | 
|---|
| 10 | *Purpose: | 
|---|
| 11 | *   To provide support for accessing the individual components of an | 
|---|
| 12 | *   arbitrary path name | 
|---|
| 13 | * | 
|---|
| 14 | *******************************************************************************/ | 
|---|
| 15 |  | 
|---|
| 16 | #include <string.h> | 
|---|
| 17 | #include <errno.h> | 
|---|
| 18 | #include <limits.h> | 
|---|
| 19 | #include "internal_securecrt.h" | 
|---|
| 20 |  | 
|---|
| 21 | #include "mbusafecrt_internal.h" | 
|---|
| 22 |  | 
|---|
| 23 | #define _FUNC_PROLOGUE | 
|---|
| 24 | #define _FUNC_NAME _wsplitpath_s | 
|---|
| 25 | #define _CHAR wchar_t | 
|---|
| 26 | #define _TCSNCPY_S wcsncpy_s | 
|---|
| 27 | #define _T(_Character) L##_Character | 
|---|
| 28 | #define _MBS_SUPPORT 0 | 
|---|
| 29 |  | 
|---|
| 30 | #include "tsplitpath_s.inl" | 
|---|
| 31 |  | 
|---|