---
title: "BNNSGraphCompileOptionsGetOutputFD(_:)"
framework: accelerate
role: symbol
role_heading: Function
path: "accelerate/bnnsgraphcompileoptionsgetoutputfd(_:)"
---

# BNNSGraphCompileOptionsGetOutputFD(_:)

Returns the option for the compiled graph’s output file descriptor.

## Declaration

```swift
func BNNSGraphCompileOptionsGetOutputFD(_ options: bnns_graph_compile_options_t) -> Int32
```

## Parameters

- `options`: The compilation options object.

## Return Value

Return Value The file descriptor that the BNNSGraphCompileOptionsSetOutputFD(_:_:) function defines, if any.

## See Also

### Specifying and querying compilation options

- [bnns_graph_compile_options_t](accelerate/bnns_graph_compile_options_t.md)
- [BNNSGraphCompileOptionsMakeDefault()](accelerate/bnnsgraphcompileoptionsmakedefault().md)
- [BNNSGraphCompileOptionsDestroy(_:)](accelerate/bnnsgraphcompileoptionsdestroy(_:).md)
- [BNNSGraphCompileOptionsSetOutputPath(_:_:)](accelerate/bnnsgraphcompileoptionssetoutputpath(_:_:).md)
- [BNNSGraphCompileOptionsGetOutputPath(_:)](accelerate/bnnsgraphcompileoptionsgetoutputpath(_:).md)
- [BNNSGraphCompileOptionsSetOutputFD(_:_:)](accelerate/bnnsgraphcompileoptionssetoutputfd(_:_:).md)
- [BNNSGraphCompileOptionsSetTargetSingleThread(_:_:)](accelerate/bnnsgraphcompileoptionssettargetsinglethread(_:_:).md)
- [BNNSGraphCompileOptionsGetTargetSingleThread(_:)](accelerate/bnnsgraphcompileoptionsgettargetsinglethread(_:).md)
- [BNNSGraphCompileOptionsSetOptimizationPreference(_:_:)](accelerate/bnnsgraphcompileoptionssetoptimizationpreference(_:_:).md)
- [BNNSGraphCompileOptionsGetOptimizationPreference(_:)](accelerate/bnnsgraphcompileoptionsgetoptimizationpreference(_:).md)
- [BNNSGraphOptimizationPreference](accelerate/bnnsgraphoptimizationpreference.md)
- [BNNSGraphCompileOptionsSetGenerateDebugInfo(_:_:)](accelerate/bnnsgraphcompileoptionssetgeneratedebuginfo(_:_:).md)
- [BNNSGraphCompileOptionsGetGenerateDebugInfo(_:)](accelerate/bnnsgraphcompileoptionsgetgeneratedebuginfo(_:).md)
- [BNNSTargetSystemGeneric](accelerate/bnnstargetsystemgeneric.md)
