---
title: insertAfter
framework: kernel
role: pseudoSymbol
path: kernel/iofwcommand/1813158-insertafter
---

# insertAfter

## Declaration

```occ
virtual void insertAfter(
 IOFWCommand &prev); 
```

## Parameters

- `prev`: command to insert after
- `queue`: queue command is being added to

## Overview

Overview inserts a command after the specified one.

## See Also

### Miscellaneous

- [removeFromQ](kernel/iofwcommand/1813168-removefromq.md)
- [setHead](kernel/iofwcommand/1813176-sethead.md)
