---
title: unsafeArgv
framework: swift
role: symbol
role_heading: Type Property
path: swift/commandline/unsafeargv
---

# unsafeArgv

Access to the raw argv value from C.

## Declaration

```swift
static var unsafeArgv: UnsafeMutablePointer<UnsafeMutablePointer<Int8>?> { get }
```

## Discussion

Discussion The value of this property is a nil-terminated C array. Including the trailing nil, there are argc + 1 elements in the array. note: Accessing the argument vector through this pointer is unsafe. Where possible, use arguments instead.

## See Also

### Accessing Raw Argument Data

- [argc](swift/commandline/argc.md)
