home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Borland Programmer's Resource
/
Borland_Programmers_Resource_CD_1995.iso
/
utils
/
source
/
bsdpsx
/
for2bak.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-05-18
|
203b
|
14 lines
#include <stdio.h>
/*
* For2bak: Converts a string's fore slashes to back slashes. MSS
*/
void for2bak(char * str)
{
while (*str) {
if(*str == '/')
*str = '\\';
str++;
}
}