[Asterisk-Users] file.c weirdness

James Golovich james at wwnet.net
Fri Apr 30 17:35:04 MST 2004


On Fri, 30 Apr 2004, Ernest W. Lessenger wrote:

> Could someone explain to me the proper return values for ast_filerename and
> ast_filecopy? I'm trying to write an application to utilize these functions,
> but the return values seem wonky. Specifically, I can't tell whether success
> will always return 0 and failure will always return !0.
> 

Please take a look at include/asterisk/file.h it includes the information
you seek.

James






More information about the asterisk-users mailing list