1N/A * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers. 1N/A * All rights reserved. 1N/A * Copyright (c) 1990, 1993 1N/A * The Regents of the University of California. All rights reserved. 1N/A * This code is derived from software contributed to Berkeley by 1N/A * By using this file, you agree to the terms and conditions set 1N/A * forth in the LICENSE file which can be found at the top level of 1N/A * the sendmail distribution. 1N/A#
pragma ident "%Z%%M% %I% %E% SMI" 1N/A** SM_IO_GETC -- get a character from a file 1N/A** fp -- the file to get the character from 1N/A** timeout -- time to complete getc 1N/A** Success: the value of the character read. 1N/A** Failure: SM_IO_EOF 1N/A** This is a function version of the macro (in <sm/io.h>). 1N/A** It is guarded with locks (which are currently not functional) 1N/A** for multi-threaded programs.