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. Thanks, --Ernest
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