fstatfsdev man page on HP-UX

Printed from http://www.polarhome.com/service/man/?qf=fstatfsdev&af=0&tf=2&of=HP-UX

statfsdev(3C)							 statfsdev(3C)

NAME
       statfsdev(), fstatfsdev() - get file system statistics

SYNOPSIS
DESCRIPTION
       returns	information about the file system contained in the file speci‐
       fied by path.

       buf is a pointer to a structure into which information is  placed  con‐
       cerning	the  file system.  The contents of the structure pointed to by
       buf include the following members:

       The fields and are expressed in terms of blocks of size

       Fields that are undefined for a particular file system are set to −1 .

       returns the same information as above, but about the open file referred
       to by file descriptor fildes.

RETURN VALUE
       Upon successful completion, and return zero.  Otherwise, they return −1
       and set the global variable to indicate the error.

ERRORS
       fails if one or more of the following conditions are encountered:

	      Search permission is denied for a component of the path prefix.

	      The file exists, enforcement mode file/record  locking  is  set,
	      and there are
			     outstanding record locks on the file.

	      path	     points to an invalid address.

	      Too  many symbolic links are encountered in translating the path
	      name.

	      The maximum number of file  descriptors  allowed	are  currently
	      open.

	      The length of the specified path name exceeds
			     bytes,  or	 the length of a component of the path
			     name exceeds bytes while is in effect.

	      The system file table is full.

	      The named file does not exist.

	      A component of the path prefix is not a directory.

	      The device specified by the named special file does not exist.

	      Result would overflow one or more fields of the
			     struct.

       fails if one or more of the following is true:

	      fildes	     is not a valid open file descriptor.

	      filedes	     points to an invalid address.

       Both and fail if one or more of the following is true:

	      Enforcement-mode record locking was set, and there was a	block‐
	      ing write lock.

	      A resource deadlock would occur as a result of this operation.

	      A system call was interrupted by a signal.

	      The file specified by
			     path or filedes does not contain a file system of
			     any known type.

	      The system lock table was full,
			     so the read could	not  go	 to  sleep  until  the
			     blocking write lock was removed.

	      Contact your system administrator to make sure the
			     is running properly on the system.

WARNINGS
       and  are	 deprecated  and should be used only by legacy 32-bit applica‐
       tions.  and are the recommended replacements.  See fgetpos64(3S).

AUTHOR
       and were developed by HP.

FILES
SEE ALSO
       bdf(1M), df(1M), stat(2), statfs(2), thread_safety(5).

								 statfsdev(3C)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net