---
title: "BNNSGraphGetArgumentNames(_:_:_:_:)"
framework: accelerate
role: symbol
role_heading: Function
path: "accelerate/bnnsgraphgetargumentnames(_:_:_:_:)"
---

# BNNSGraphGetArgumentNames(_:_:_:_:)

Extracts the names of arguments for the given function argument.

## Declaration

```swift
func BNNSGraphGetArgumentNames(_ graph: bnns_graph_t, _ function: UnsafePointer<CChar>?, _ argument_names_count: Int, _ argument_names: UnsafeMutablePointer<UnsafePointer<CChar>?>) -> Int32
```

## Parameters

- `graph`: The compiled graph object.
- `function`: The function. Specify as nil if the graph only contains one function.
- `argument_names_count`: The number of elements in the argument_names array.
- `argument_names`: On output, an array of pointers to strings that contain the argument names.

## Return Value

Return Value 0 on success, nonzero on failure.

## Discussion

Discussion This function is the equivalent of the concatenation of BNNSGraphGetOutputNames(_:_:_:_:) and BNNSGraphGetInputNames(_:_:_:_:).

## See Also

### Querying a graph’s properties

- [BNNSGraphGetArgumentIntents(_:_:_:_:)](accelerate/bnnsgraphgetargumentintents(_:_:_:_:).md)
- [BNNSGraphArgumentIntent](accelerate/bnnsgraphargumentintent.md)
- [BNNSGraphGetArgumentCount(_:_:)](accelerate/bnnsgraphgetargumentcount(_:_:).md)
- [BNNSGraphGetFunctionCount(_:)](accelerate/bnnsgraphgetfunctioncount(_:).md)
- [BNNSGraphGetFunctionNames(_:_:_:)](accelerate/bnnsgraphgetfunctionnames(_:_:_:).md)
- [BNNSGraphGetInputCount(_:_:)](accelerate/bnnsgraphgetinputcount(_:_:).md)
- [BNNSGraphGetInputNames(_:_:_:_:)](accelerate/bnnsgraphgetinputnames(_:_:_:_:).md)
- [BNNSGraphGetOutputCount(_:_:)](accelerate/bnnsgraphgetoutputcount(_:_:).md)
- [BNNSGraphGetOutputNames(_:_:_:_:)](accelerate/bnnsgraphgetoutputnames(_:_:_:_:).md)
- [BNNSGraphGetArgumentPosition(_:_:_:)](accelerate/bnnsgraphgetargumentposition(_:_:_:).md)
- [BNNSGraphGetArgumentInterleaveFactors(_:_:_:_:_:)](accelerate/bnnsgraphgetargumentinterleavefactors(_:_:_:_:_:).md)
