n An integer corresponding to the specified index and mode arguments. -1 Indicates an error; errno is set.