| 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 | *splitpath_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 _splitpath_s | 
|---|
| 25 | #define _CHAR char | 
|---|
| 26 | #define _TCSNCPY_S strncpy_s | 
|---|
| 27 | #define _T(_Character) _Character | 
|---|
| 28 |  | 
|---|
| 29 | #define _MBS_SUPPORT 0 | 
|---|
| 30 |  | 
|---|
| 31 | #include "tsplitpath_s.inl" | 
|---|
| 32 |  | 
|---|