printf (_("Creation Time : %s"), ctime ((time_t *)&obj->zo_oid.ctime)); printf (_("Mod. Time     : %s"), ctime ((time_t *)&obj->zo_oid.mtime));
buf = obj->zo_oid.ctime; printf (_("Creation Time : %s"), ctime (&buf)); buf = obj->zo_oid.mtime; printf (_("Mod. Time     : %s"), ctime (&buf));
nis_print_object (const nis_object * obj){  printf (_("Object Name   : %s\n"), obj->zo_name);  printf (_("Directory     : %s\n"), obj->zo_domain);  printf (_("Owner         : %s\n"), obj->zo_owner);  printf (_("Group         : %s\n"), obj->zo_group);  fputs (_("Access Rights : "), stdout);  nis_print_rights (obj->zo_access);  printf (_("\nTime to Live  : "));  print_ttl (obj->zo_ttl);  printf (_("Creation Time : %s"), ctime ((time_t *)&obj->zo_oid.ctime));  printf (_("Mod. Time     : %s"), ctime ((time_t *)&obj->zo_oid.mtime));  fputs (_("Object Type   : "), stdout);  nis_print_objtype (obj->zo_data.zo_type);  switch (obj->zo_data.zo_type)    {    case NIS_DIRECTORY_OBJ:      nis_print_directory (&obj->zo_data.objdata_u.di_data);      break;    case NIS_GROUP_OBJ:      nis_print_group (&obj->zo_data.objdata_u.gr_data);      break;    case NIS_TABLE_OBJ:      nis_print_table (&obj->zo_data.objdata_u.ta_data);      break;    case NIS_ENTRY_OBJ:      nis_print_entry (&obj->zo_data.objdata_u.en_data);      break;    case NIS_LINK_OBJ:      nis_print_link (&obj->zo_data.objdata_u.li_data);      break;    case NIS_PRIVATE_OBJ:      printf (_("    Data Length = %u\n"),	      obj->zo_data.objdata_u.po_data.po_data_len);      break;    default:      break;    }}