12 constexpr
short io_version_no = 1;
44 std::cerr <<
"I/O ERROR: vsl_b_read(vsl_b_istream&, vul_user_info&)\n" 45 <<
" Unknown version number "<< v <<
'\n';
46 is.is().clear(std::ios::badbit);
56 os <<
"( uid,gid,name,home_directory,full_name,shell,passwd=" 58 <<
" home_directory,full_name,shell=" 60 <<
" passwd=" << p.
passwd<<
')';
Reads information about a user from the password file.
void vsl_print_summary(std::ostream &os, const vul_user_info &p)
Output a human readable summary to the stream.
binary io for vul_user_info.
void vsl_b_read(vsl_b_istream &is, vul_user_info &p)
Binary load self from stream.
Reads information about a user from the password file.
void vsl_b_write(vsl_b_ostream &os, const vul_user_info &p)
Binary save self to stream.
std::string home_directory