library/src/filesystem/BP-Filesystem.cc
// Writes to a given file descriptor (wrapper)
Writes to a given file descriptor (wrapper)
Writes to a given file descriptor ( wrapper )
int BP_FDWrite(int fd, char *buff, int size)
{
	if(!buff || !size)
		return 0;
	int writeBytes = write(fd, buff, size);
	return writeBytes;
}
int BP_FDWrite ( int fd , char * buff , int size ) { if ( ! buff || ! size ) return 0 ; int writeBytes = write ( fd , buff , size ) ; return writeBytes ; }
Writes to a given file descriptor (wrapper)
Writes to a given file descriptor ( wrapper )
// ensure we have a buffer and a size // attempt to write specified bytes to the file descriptor // return the number of bytes written