| Extracted from Pike v7.8 release 866 at 2016-04-05.

[Top]
Stdio
Stdio.File

# Method Stdio.File()->set_id()

Method set_id

  `void set_id(mixed id)`

Description

  This function sets the `id` of this file. The `id` is mainly used as an identifier that is sent as the first argument to all callbacks. The default `id` is `0` (zero). Another possible use of the `id` is to hold all data related to this file in a mapping or array.

See also

  query_id()