Copyright © tutorialspoint.com
Syntax
Definition and UsageAs getnetent() retriews the information fro the next line in the network database, then setnetent sets (or resets) the enumeration to the beginning of the set of host entries. This function should be called before the first call to getnetent. The STAYOPEN argument is optional and unused on most systems. Return Value
ExampleTry out following example:
|
Copyright © tutorialspoint.com