void
Prev | DocBook Element Reference | Next

This is an alpha version of this book.

# void

## Name

void — An empty element in a function synopsis indicating that the function in question takes no arguments

##

# Synopsis

### Content Model

    void ::=
    EMPTY

### Attributes

Common attributes

## Description

The `Void` element indicates explicitly that a `Function` has no arguments.

### Processing expectations

The `Void` element produces generated text that indicates the function has no arguments (or returns nothing). The exact generated text may vary. One common result is `void`.

### Parents

These elements contain void: `constructorsynopsis`, `destructorsynopsis`, `funcprototype`, `methodsynopsis`.

## See Also

`funcdef`, `funcparams`, `funcprototype`, `funcsynopsisinfo`, `function`, `paramdef`, `parameter`, `returnvalue`, `varargs`.

## Examples

For examples, see `funcdef`, `funcsynopsis` .

Prev | Home | Next
videoobject | Up | volumenum

Copyright © 1999, 2000, 2001 O'Reilly & Associates, Inc.