12
12
You should have received a copy of the GNU General Public License
13
13
along with this program; if not, write to the Free Software
14
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
14
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
28
21
/* Write a chunk of bytes to a file */
30
size_t my_write(int Filedes, const unsigned char *Buffer, size_t Count, myf MyFlags)
23
size_t my_write(int Filedes, const uchar *Buffer, size_t Count, myf MyFlags)
32
25
size_t writenbytes, written;
36
29
/* The behavior of write(fd, buf, 0) is not portable */
42
35
if ((writenbytes= write(Filedes, Buffer, Count)) == Count)