comparison src/os_amiga.c @ 982:b00d5f429a4b v7.0.108

updated for version 7.0-108
author vimboss
date Thu, 14 Sep 2006 19:36:57 +0000
parents 8ae24f338cab
children d4bc24e6a281
comparison
equal deleted inserted replaced
981:eb4ee2010aae 982:b00d5f429a4b
797 } 797 }
798 798
799 /* 799 /*
800 * Create directory "name". 800 * Create directory "name".
801 */ 801 */
802 void 802 int
803 mch_mkdir(name) 803 mch_mkdir(name)
804 char_u *name; 804 char_u *name;
805 { 805 {
806 BPTR lock; 806 BPTR lock;
807 807
808 lock = CreateDir(name); 808 lock = CreateDir(name);
809 if (lock != NULL) 809 if (lock != NULL)
810 {
810 UnLock(lock); 811 UnLock(lock);
812 return 0;
813 }
814 return -1;
811 } 815 }
812 816
813 /* 817 /*
814 * Return 1 if "name" can be executed, 0 if not. 818 * Return 1 if "name" can be executed, 0 if not.
815 * Return -1 if unknown. 819 * Return -1 if unknown.