According to BROKEN FORTUNES: SOUTH CAROLINA DEAD IN CSA SERVICE 1861–1865, by Randolph W. Kirkland, Jr., a PVT W. K. FOXWORTH, Co. D, 25th SC Infantry, died on 26 Aug 1864, in the City Pt, VA, Hospital. The entry further states that he was a color bearer, and was wounded at the Battle of Weldon RR (21 Aug 1864). Co. D (Marion Light Infantry) was from Marion District, SC, and was commanded by CPT William J. MCKERRAL. City Pt. was a Union base, so it appears that PVT FOXWORTH died in enemy hands.
Broadfoot's ROSTER OF SOUTH CAROLINA TROOPS also lists a PVT W. S. FOXWORTH in Co. F, 7th SC Cavalry, who apparently survived the war.
You can find information on both regiments at http://wbts.scgenealogy.com/sc/, and you can order copies of the service records of either or both men from the National Archives. See their site at http://www.archives.gov/research_room/obtain_copies/veterans_service_records.html for information on the necessary forms and procedures.
Hope this helps, and good luck.