file_exists man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

file_exists(3)			Allegro manual			file_exists(3)

NAME
       file_exists - Tells if a file exists. Allegro game programming library.

SYNOPSIS
       #include <allegro.h>

       int file_exists(const char *filename, int attrib, int *aret);

DESCRIPTION
       Checks  whether	a  file	 matching  the	given name and attributes (see
       beginning of this chapter) exists. If `aret' is not NULL,  it  will  be
       set to the attributes of the matching file. Example:

	  /* Check for a normal file. */
	  if (file_exists("franken.dat", 0, NULL))
	     allegro_message("It is alive!\n");

RETURN VALUE
       Returns non-zero if the file exists, or zero if it doesn't or the spec‐
       ified attributes mask it out.

SEE ALSO
       exists(3), file_size_ex(3), file_time(3)

Allegro				 version 4.4.2			file_exists(3)
[top]

List of man pages available for DragonFly

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