int url = OS.CFURLCreateWithFileSystemPath(OS.kCFAllocatorDefault, arg, OS.kCFURLPOSIXPathStyle, false);
int url = OS.CFURLCreateWithString(OS.kCFAllocatorDefault, arg, 0);
public static boolean launch (String fileName) {	if (fileName == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);	int rc = -1;	char[] chars = new char[fileName.length()];	fileName.getChars(0, chars.length, chars, 0);	int arg = OS.CFStringCreateWithCharacters(0, chars, chars.length);	if (arg != 0) {		int url = OS.CFURLCreateWithFileSystemPath(OS.kCFAllocatorDefault, arg, OS.kCFURLPOSIXPathStyle, false);		if (url != 0) {			byte[] itemRef = new byte[80];			if (OS.CFURLGetFSRef(url, itemRef)) {								rc = OS.LSOpenFSRef(itemRef, null);			}			OS.CFRelease(url);		}		OS.CFRelease(arg);	}	return rc == OS.noErr;}